mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 17:07:08 +00:00
refactor(nixos): rename update.sh to update.nu
This commit is contained in:
@@ -116,7 +116,7 @@
|
|||||||
after = ["network-online.target"];
|
after = ["network-online.target"];
|
||||||
wants = ["network-online.target"];
|
wants = ["network-online.target"];
|
||||||
path = config.environment.systemPackages;
|
path = config.environment.systemPackages;
|
||||||
script = "nu ${./update.sh}";
|
script = "nu ${./update.nu}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
WorkingDirectory = "/home/mudics/mudics";
|
WorkingDirectory = "/home/mudics/mudics";
|
||||||
User = "mudics";
|
User = "mudics";
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
systemd.services.enable-wol = {
|
systemd.services.enable-wol = {
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
after = ["network.target"];
|
after = ["network.target"];
|
||||||
path = with pkgs; [ ethtool nushell ];
|
path = with pkgs; [ethtool nushell];
|
||||||
script = "nu ${./wol.nu}";
|
script = "nu ${./wol.nu}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|||||||
Reference in New Issue
Block a user