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