Add autoupgrade
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled

This commit is contained in:
Torjus Håkestad 2025-02-06 19:58:01 +01:00
parent 60b2a24271
commit 5866a2be8f
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4
2 changed files with 10 additions and 0 deletions

9
system/autoupgrade.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }:
{
system.autoUpgrade = {
enable = true;
randomizedDelaySec = "1h";
allowReboot = true;
flake = "git+https://git.t-juice.club/torjus/nixos-servers.git";
};
}

View File

@ -1,6 +1,7 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./autoupgrade.nix
./monitoring ./monitoring
./packages.nix ./packages.nix
./nix.nix ./nix.nix