Remove weekly-rebuild
Some checks failed
Run nix flake check / flake-check (push) Failing after 11m1s
Some checks failed
Run nix flake check / flake-check (push) Failing after 11m1s
This commit is contained in:
parent
5866a2be8f
commit
44d4dc6cdf
@ -9,6 +9,5 @@
|
|||||||
./root-ca.nix
|
./root-ca.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
./sshd.nix
|
./sshd.nix
|
||||||
./weekly-rebuild.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
systemd.services."weekly-rebuild" = {
|
|
||||||
path = [
|
|
||||||
pkgs.git
|
|
||||||
pkgs.nix
|
|
||||||
];
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
systemd.timers."weekly-rebuild" = {
|
|
||||||
enable = true;
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnCalendar = "Sun 06:00:00";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user