diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-04-29 15:51:29 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-04-29 15:51:29 +0200 |
commit | 624be0a4d0dc5f2760810143b35a49ba923dcdd5 (patch) | |
tree | bd444ab65345d89f6704078e6ed92bb3b90c55a9 /neko | |
parent | e63568518c575cad878a34e836d5373f77f1ebc5 (diff) |
use networkd
Diffstat (limited to 'neko')
-rw-r--r-- | neko/hardware-configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index 1b2f52f..028ff5c 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -25,8 +25,8 @@ swapDevices = [ ]; - # Enables DHCP on the right ethernet interface. - networking.interfaces.enp8s0.useDHCP = true; + # setup our network for later config in common.nix + systemd.network.networks."10-lan".matchConfig.Name = "enp8s0"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; |