From bc1c8b7b68f5fdaae63a80a69b0973bdcb82288b Mon Sep 17 00:00:00 2001 From: devhell Date: Tue, 8 Oct 2019 14:00:52 +0100 Subject: profiles/base: Fix networking.useDHCP clash This addresses a new assertion to the way NixOS handles networks with networkd [1]. As a result this disables `networking.useDHCP` globally on all my machines. Explicit interface configuration, as requested by [1] will be handled in separate commits due to separate machines, not all of which I have access to right now. [1] https://github.com/NixOS/nixpkgs/pull/69302 --- modules/user/devhell/profiles/base.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix index a423b795..6a817d2d 100644 --- a/modules/user/devhell/profiles/base.nix +++ b/modules/user/devhell/profiles/base.nix @@ -44,7 +44,10 @@ in { }; }; - networking.firewall.enable = false; + networking = { + firewall.enable = false; + useDHCP = false; + }; users.users.dev = { isNormalUser = true; -- cgit 1.4.1