🚀 reinstate system.autoUpgrade

This commit is contained in:
2024-10-14 14:27:09 -04:00
parent 578d029c1a
commit 1ce8c86b0d
4 changed files with 58 additions and 49 deletions

View File

@ -28,6 +28,7 @@ _:
"ipfs"
"kind"
"kubernetes-cli"
"libtool"
"mr"
"ripgrep"
"tea"

View File

@ -14,11 +14,13 @@ _:
substituters = [
"https://walkah.cachix.org"
"https://nix-community.cachix.org"
"https://cache.garnix.io"
];
trusted-public-keys = [
"walkah.cachix.org-1:D8cO78JoJC6UPV1ZMgd1V5znpk3jNUERGIeAKN15hxo="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
};

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ config, pkgs, ... }: {
imports = [ ./common.nix ../monitoring ../../users ];
@ -36,6 +36,12 @@
};
system = {
autoUpgrade = {
enable = true;
flake = "github:walkah/athens#${config.networking.hostName}";
dates = "hourly";
flags = [ "--option" "tarball-ttl" "0" ];
};
stateVersion = "23.05";
};
}