fix(wol): generalize 'wol-*' scripts
check / lint (push) Successful in 15s

This commit is contained in:
hektor committed 2026-10-25 17:37:20 +01:00
1 parent 715bf6140f
commit 3893fb6078
5 files changed
+40 -31

No files matched your search

+1 -10
View File
@@ -71,6 +71,7 @@ in
};
};
taskwarrior.enable = true;
wol.wakes = [ "andromache" ];
zfs.enable = true;
secrets.nixSigningKey.enable = true;
@@ -82,16 +83,6 @@ in
hardware.cpu.intel.updateMicrocode = true;
environment.systemPackages = [
(pkgs.writeShellApplication {
name = "wol-andromache";
runtimeInputs = [ pkgs.wakeonlan ];
text = ''
wakeonlan ${(import ../andromache/wol-interfaces.nix).eno1.macAddress}
'';
})
];
networking = {
hostId = "5f0bde3c";
useDHCP = false;