summaryrefslogtreecommitdiff
path: root/neko/hardware-configuration.nix
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-01-15 22:48:29 +0100
committerChristoph Cullmann <cullmann@kde.org>2023-01-15 22:48:29 +0100
commita3576e284b12bb0cc3080078a528506ec59ac413 (patch)
tree8ed11d5fa47c9729f2b52ca0b7a74553bf136502 /neko/hardware-configuration.nix
parent5d2ad5824d2109a11ed803efda4603d0722767a5 (diff)
use systemd-networkd
Diffstat (limited to 'neko/hardware-configuration.nix')
-rw-r--r--neko/hardware-configuration.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix
index 4665392..d0d385a 100644
--- a/neko/hardware-configuration.nix
+++ b/neko/hardware-configuration.nix
@@ -25,13 +25,8 @@
swapDevices = [ ];
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (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.<interface>.useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.enp0s20f0u4u3.useDHCP = lib.mkDefault true;
- # networking.interfaces.enp8s0.useDHCP = lib.mkDefault true;
+ # Enables DHCP on the right ethernet interface.
+ networking.interfaces.enp8s0.useDHCP = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";