Fix system-maintenance unit
This commit is contained in:
parent
2292941680
commit
f2de1bfe08
|
@ -6,6 +6,7 @@ imports = [ ./init_ssh.nix ];
|
|||
config = {
|
||||
systemd.services."system-maintenance" = {
|
||||
startAt = "2:45";
|
||||
environment.NIX_PATH = "/etc/nix-path:nixos-config=/etc/nixos/configuration.nix";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${(import ./update-lib.nix config.system.build.nixos-rebuild).system-maintenance}/bin/system-maintenance";
|
||||
|
|
Loading…
Reference in a new issue