Remove rebuild switch, messes with running unit
This commit is contained in:
parent
b7d9a12786
commit
c089cbedee
@ -8,10 +8,7 @@
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.nixos-rebuild}/bin/nixos-rebuild boot --flake git+https://git.t-juice.club/torjus/nixos-servers#";
|
||||
ExecStartPost = [
|
||||
"${pkgs.nix}/bin/nix-collect-garbage --delete-older-than 30d"
|
||||
"${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake git+https://git.t-juice.club/torjus/nixos-servers#"
|
||||
];
|
||||
ExecStartPost = "${pkgs.nix}/bin/nix-collect-garbage --delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
systemd.timers."weekly-rebuild" = {
|
||||
|
Loading…
Reference in New Issue
Block a user