From 964467ffcd03056471017f0b820f69c4d2fb38f2 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Sat, 31 Aug 2024 14:01:19 +0300 Subject: [PATCH] wip(systems/profiles/vm): temporarily disable static settings --- systems/profiles/vm/vm.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systems/profiles/vm/vm.nix b/systems/profiles/vm/vm.nix index e421c0b..fa5785c 100644 --- a/systems/profiles/vm/vm.nix +++ b/systems/profiles/vm/vm.nix @@ -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"]; -- 2.44.1