Auto upgrade service
This commit is contained in:
parent
cb234983ee
commit
3afe2d0562
3 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
8
nixos_modules/automatic-upgrade.nix
Normal file
8
nixos_modules/automatic-upgrade.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "gitlab:bertof/nix-dotfiles";
|
||||
# dates = "daily"; # default 04:04
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
}
|
||||
|
|
@ -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?
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue