Remove rebuild switch, messes with running unit
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m45s
Periodic flake update / flake-update (push) Successful in 1m57s

This commit is contained in:
Torjus Håkestad 2024-10-12 21:59:28 +02:00
parent b7d9a12786
commit c089cbedee
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -8,10 +8,7 @@
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.nixos-rebuild}/bin/nixos-rebuild boot --flake git+https://git.t-juice.club/torjus/nixos-servers#"; ExecStart = "${pkgs.nixos-rebuild}/bin/nixos-rebuild boot --flake git+https://git.t-juice.club/torjus/nixos-servers#";
ExecStartPost = [ ExecStartPost = "${pkgs.nix}/bin/nix-collect-garbage --delete-older-than 30d";
"${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#"
];
}; };
}; };
systemd.timers."weekly-rebuild" = { systemd.timers."weekly-rebuild" = {