diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-04-16 17:54:20 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-04-16 17:54:20 +0200 |
| commit | ad8beab1ec548b52088aa6788b03ec01daf0f84d (patch) | |
| tree | c26c161f9535c30423a904e2ac7816eafd2b4830 /nixos/configuration.nix | |
| parent | 8aafb45f680a004a625755193f7396e4034f4aa5 (diff) | |
auto upgrades: use built-in option instead of cron job
Diffstat (limited to 'nixos/configuration.nix')
| -rw-r--r-- | nixos/configuration.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 7306ccb..7252744 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -34,6 +34,10 @@ options = "--delete-old"; }; }; + system.autoUpgrade = { + enable = true; + flags = [ "--upgrade-all" ]; + } # Some programs need SUID wrappers, can be configured further or are # started in user sessions. |
