summaryrefslogtreecommitdiff
path: root/hosts/kansai
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-03 20:31:48 -0800
committerFuwn <[email protected]>2025-02-03 20:31:48 -0800
commit2a838e38fae35172012c9e96d4547949d5e978d8 (patch)
treed0173878e15ac1e566557ef88a7481476e49148a /hosts/kansai
parentnara: rpi imager (diff)
downloadnixos-config-2a838e38fae35172012c9e96d4547949d5e978d8.tar.xz
nixos-config-2a838e38fae35172012c9e96d4547949d5e978d8.zip
kansai: add wake-on-lan to interfaces
Diffstat (limited to 'hosts/kansai')
-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;
};