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
|
# 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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user