diff --git a/machines/kitchen/configuration.nix b/machines/kitchen/configuration.nix index 0970b27..57a0844 100644 --- a/machines/kitchen/configuration.nix +++ b/machines/kitchen/configuration.nix @@ -16,8 +16,7 @@ # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; - networking.interfaces.enp37s0.useDHCP = true; - networking.interfaces.wlp36s0.useDHCP = true; + networking.networkmanager.enable = true; # Set your time zone. time.timeZone = "America/New_York"; diff --git a/machines/loft/configuration.nix b/machines/loft/configuration.nix index 1dcc820..4e1e4b7 100644 --- a/machines/loft/configuration.nix +++ b/machines/loft/configuration.nix @@ -24,9 +24,7 @@ # NETWORKING # ############## networking.useDHCP = false; - networking.interfaces.enp0s20u5u4.useDHCP = true; - networking.interfaces.enp4s0.useDHCP = true; - networking.interfaces.wlp5s0.useDHCP = true; + networking.networkmanager.enable = true; networking.hostName = "loft"; # Define your hostname. networking.firewall.enable = false;