From 05622e6127a173d9a65c28b4d939f9752e801bdd Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 18 Jan 2022 12:57:35 -0500 Subject: [PATCH] Switch networking to networkmanager --- machines/kitchen/configuration.nix | 3 +-- machines/loft/configuration.nix | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) 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;