summaryrefslogtreecommitdiffstats
path: root/systems/zu
diff options
context:
space:
mode:
Diffstat (limited to 'systems/zu')
-rw-r--r--systems/zu/config.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/systems/zu/config.nix b/systems/zu/config.nix
index 8a4371b2..bdb1e792 100644
--- a/systems/zu/config.nix
+++ b/systems/zu/config.nix
@@ -8,6 +8,7 @@
../../configs/gitrepos.nix
../../configs/mail-client.nix
../../configs/man.nix
+ ../../configs/networkd.nix
../../configs/nginx/public_html.nix
../../configs/pulse.nix
../../configs/retiolum.nix
@@ -43,7 +44,11 @@
};
};
- networking.wireless.enable = true;
+ hrm.network.interfaces.eth0.medium = "ethernet";
+
+ networking.interfaces.eth0.useDHCP = true;
+ networking.interfaces.wlan0.useDHCP = true;
+ networking.usePredictableInterfaceNames = false;
nix.daemonCPUSchedPolicy = "batch";
nix.daemonIOSchedPriority = 1;
@@ -63,4 +68,9 @@
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "15.09";
+
+ systemd.network.links."10-ethernet" = {
+ matchConfig.Name = "eth0";
+ linkConfig.WakeOnLan = "magic";
+ };
}