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 -5
View File
@@ -8,7 +8,6 @@
let
meta = import ./meta.nix;
wolInterfaces = import ./wol-interfaces.nix;
in
{
imports = [
@@ -88,10 +87,7 @@ in
};
tailscale.enable = true;
taskwarrior.enable = true;
wol = {
enable = true;
interfaces.eno1 = { inherit (wolInterfaces.eno1) macAddress; };
};
wol.interfaces.eno1.macAddress = "02:68:b3:29:da:98";
zfs.enable = true;
disko.devices = {
-3
View File
@@ -1,3 +0,0 @@
{
eno1.macAddress = "02:68:b3:29:da:98";
}
+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;
+1
View File
@@ -16,6 +16,7 @@ in
ssh.enable = true;
tailscale.enable = true;
wol.wakes = [ "andromache" ];
boot = {
kernelParams = [