summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/kansai/hardware-configuration.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/kansai/hardware-configuration.nix b/hosts/kansai/hardware-configuration.nix
index a4129c7..58c86c4 100644
--- a/hosts/kansai/hardware-configuration.nix
+++ b/hosts/kansai/hardware-configuration.nix
@@ -85,8 +85,16 @@ in
extraOptions = commonOptions;
};
+ networking = {
+ useDHCP = lib.mkDefault true;
+
+ interfaces = {
+ enp42s0.wakeOnLan.enable = true;
+ wlan0.wakeOnLan.enable = true;
+ };
+ };
+
swapDevices = [ ];
- networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};