pull-update: forgot lib.getExe

This commit is contained in:
2026-04-16 15:03:06 -04:00
parent 982cc4aebc
commit 0718568bec

View File

@@ -3,7 +3,7 @@
# records the output store path at /deploy/<hostname>. On boot this
# service fetches that path, pulls the closure from the binary cache,
# sets it as the boot profile, and reboots into it.
{ pkgs, hostname, ... }:
{ pkgs, hostname, lib, ... }:
let
deploy-url = "https://nix-cache.sigkill.computer/deploy/${hostname}";
@@ -64,7 +64,7 @@ in
restartIfChanged = false;
serviceConfig = {
Type = "oneshot";
ExecStart = pull-update;
ExecStart = lib.getExe pull-update;
};
};
}