diff --git a/modules/nixos/hardware/networking.nix b/modules/nixos/hardware/networking.nix index 8fc884c..099df31 100644 --- a/modules/nixos/hardware/networking.nix +++ b/modules/nixos/hardware/networking.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: { +{ config, pkgs, lib, ... }: { config = lib.mkIf config.physical { @@ -20,6 +20,12 @@ workstation = true; }; }; + + environment.systemPackages = [ + (pkgs.writeShellScriptBin "wake-tempest" + "${pkgs.wakeonlan}/bin/wakeonlan --ip=192.168.1.255 74:56:3C:40:37:5D") + ]; + }; }