fix(nixos): wol broken

This commit is contained in:
2026-01-17 15:17:12 +01:00
parent 5533696aad
commit 47d462ba76
2 changed files with 22 additions and 0 deletions
+11
View File
@@ -152,6 +152,17 @@
};
};
systemd.services.enable-wol = {
wantedBy = ["multi-user.target"];
after = ["network.target"];
path = with pkgs; [ ethtool nushell ];
script = "nu ${./wol.nu}";
serviceConfig = {
Type = "oneshot";
User = "root";
};
};
systemd.tmpfiles.rules = [
"d /home/mudics/mudics 0755 mudics - -"
];