pull-update: forgot lib.getExe
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user