summaryrefslogtreecommitdiff
path: root/neko
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-04-29 15:51:29 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-04-29 15:51:29 +0200
commit624be0a4d0dc5f2760810143b35a49ba923dcdd5 (patch)
treebd444ab65345d89f6704078e6ed92bb3b90c55a9 /neko
parente63568518c575cad878a34e836d5373f77f1ebc5 (diff)
use networkd
Diffstat (limited to 'neko')
-rw-r--r--neko/hardware-configuration.nix4
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";