DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

964467ffcd03056471017f0b820f69c4d2fb38f2 — Jonni Liljamo 2 months ago f6d143e
wip(systems/profiles/vm): temporarily disable static settings
1 files changed, 9 insertions(+), 0 deletions(-)

M systems/profiles/vm/vm.nix
M systems/profiles/vm/vm.nix => systems/profiles/vm/vm.nix +9 -0
@@ 8,17 8,26 @@

  time.timeZone = "Europe/Helsinki";

  # NOTE: There should ever only be a single network interface in my VMs.
  #       If this changes, consider taking this out and figuring another way
  #       to do this, e.g. defining the main interface in the base role or something.
  networking.usePredictableInterfaceNames = false;

  /*
  networking.defaultGateway = {
    address = "10.1.1.1";
    interface = "eth0";
  };
  */
  networking.nameservers = ["10.1.2.3"];
  /*
  networking.interfaces."eth0".ipv4.addresses = [
    {
      address = artautil.getIPv4 config.networking.hostName;
      prefixLength = 24;
    }
  ];
  */

  nix.settings.trusted-users = ["root"];