diff --git a/configuration.nix b/configuration.nix index 7ff52db..0c72ca2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -101,22 +101,6 @@ LC_TIME = "de_DE.UTF-8"; }; - ############################################################ - # GARBAGE COLLECTION - ############################################################ - - nix = { - gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 14d"; - }; - - settings = { - auto-optimise-store = true; - }; - }; - ############################################################ # DESKTOP - KDE ############################################################ @@ -208,6 +192,35 @@ RuntimeMaxUse=50M ''; + ############################################################ + # NIX UPDATES + ############################################################ + system.autoUpgrade = { + enable = true; + channel = "https://channels.nixos.org/nixos-25.11"; + dates = "daily"; + allowReboot = false; + }; + + system.autoUpgrade = { + enable = true; + channel = "https://channels.nixos.org/nixos-unstable"; + dates = "daily"; + allowReboot = false; +}; + + nix = { + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 14d"; + }; + + settings = { + auto-optimise-store = true; + }; + }; + ############################################################ # NIXOS VERSION ############################################################