mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(nixos): wol broken
This commit is contained in:
@@ -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 - -"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user