diff --git a/modules/hosts/HACKSTATION/hackstationConfiguration.nix b/modules/hosts/HACKSTATION/hackstationConfiguration.nix index 3ec3112..2b8c977 100644 --- a/modules/hosts/HACKSTATION/hackstationConfiguration.nix +++ b/modules/hosts/HACKSTATION/hackstationConfiguration.nix @@ -4,6 +4,8 @@ ... }: { flake.nixosModules.hackstationConfiguration = {pkgs, ...}: { - networking.hostName = "HACKSTATION"; + networking = { + interfaces.enp5s0.wakeOnLan.enable = true; + hostName = "HACKSTATION"; }; }; } diff --git a/modules/system/network/wake-on-lan.nix b/modules/system/network/wake-on-lan.nix deleted file mode 100644 index 81da4fd..0000000 --- a/modules/system/network/wake-on-lan.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.networking = { - pkgs, - lib, - ... - }: let - modules = with self.nixosModules; [ - networking - ]; - in { - imports = modules; - networking = { - # Just for hackstation, replace enp5s0 with primary interface - interfaces.enp5s0.wakeOnLan.enable = true; - }; - }; -}