Auto upgrade service

This commit is contained in:
Filippo Berto 2022-12-01 17:55:51 +01:00
parent cb234983ee
commit 3afe2d0562
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 10 additions and 1 deletions

View file

@ -99,6 +99,7 @@
# Common modules
./nixos_modules/bertof_user.nix
./nixos_modules/automatic-garbage-collection.nix
./nixos_modules/automatic-upgrade.nix
./nixos_modules/zerotier.nix
];

View file

@ -0,0 +1,8 @@
{
system.autoUpgrade = {
enable = true;
flake = "gitlab:bertof/nix-dotfiles";
# dates = "daily"; # default 04:04
randomizedDelaySec = "45min";
};
}

View file

@ -294,5 +294,5 @@ with lib; {
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.11"; # Did you read the comment?
system.stateVersion = "22.11"; # Did you read the comment?
}