From 901091173d108ba0e67fee67ea19c1b94267cc30 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Sat, 16 Aug 2025 17:09:35 +0200 Subject: [PATCH] auto upgrade???? --- configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 0f9a8e9..624c0f3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,7 @@ lib, pkgs, ... -}: +}@inputs: let user = "fredrikr"; @@ -357,6 +357,16 @@ in # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "24.05"; # Did you read the comment? + system.autoUpgrade = { + enable = true; + # flake = inputs.self.outPath; + flags = [ + "--print-build-logs" + ]; + dates = "05:00"; + randomizedDelaySec = "45min"; + }; + # OVERLAYS nixpkgs.overlays = [