From 9bbe40a9c9c55bed954d6a1f4e2175516a80d326 Mon Sep 17 00:00:00 2001 From: ska Date: Sat, 3 Jan 2026 00:24:21 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) 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 ############################################################