From cc55313255eed3193d510757a94faa9818cafdb2 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Tue, 28 May 2024 23:27:57 -0400 Subject: [PATCH] migrate artemision to useNetworkd Signed-off-by: ahuston-0 --- systems/artemision/configuration.nix | 1 + systems/artemision/hardware.nix | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/systems/artemision/configuration.nix b/systems/artemision/configuration.nix index 88f1135..199201e 100644 --- a/systems/artemision/configuration.nix +++ b/systems/artemision/configuration.nix @@ -21,6 +21,7 @@ networking = { hostId = "58f50a15"; firewall.enable = true; + useNetworkd = true; }; boot = { diff --git a/systems/artemision/hardware.nix b/systems/artemision/hardware.nix index 0831ec8..c7542b3 100644 --- a/systems/artemision/hardware.nix +++ b/systems/artemision/hardware.nix @@ -101,9 +101,7 @@ # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp196s0f3u2u1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;