From f5664dd8637074a7b2c0b287fa6c2f8bd80fbe0b Mon Sep 17 00:00:00 2001 From: voidarc Date: Sun, 12 Jul 2026 14:08:11 +0100 Subject: [PATCH] enabled wake on lan --- .../HACKSTATION/hackstationConfiguration.nix | 4 +++- modules/system/network/wake-on-lan.nix | 21 ------------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 modules/system/network/wake-on-lan.nix 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; - }; - }; -}