fix script

This commit is contained in:
Charlotte 🦝 Delenk 2023-07-08 16:31:43 +01:00
parent 05be0271fd
commit 0630bfd8e9
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@
curl
];
script = lib.mkDefault ../extra/update-reboot.sh;
script = lib.mkDefault "${../extra/update-reboot.sh}";
after = ["network-online.target"];
wants = ["network-online.target"];
};

View file

@ -206,5 +206,5 @@
services.resolved.enable = false;
services.bind.forwarders = lib.mkForce [];
services.tailscale.useRoutingFeatures = "server";
systemd.services.nixos-upgrade.script = ../extra/update.sh;
systemd.services.nixos-upgrade.script = lib.mkForce "${../extra/update.sh}";
}