From 879a29c9cdd2ad54cb689338634320e55ea07c1e Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Thu, 24 Apr 2025 22:42:34 +0200 Subject: [PATCH] Auto upgrade dalinar --- hosts/dalinar/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/dalinar/default.nix b/hosts/dalinar/default.nix index bab28bd..0f72dab 100644 --- a/hosts/dalinar/default.nix +++ b/hosts/dalinar/default.nix @@ -34,6 +34,14 @@ }; }; + system.autoUpgrade = { + enable = true; + flake = "git+https://git.johannes-rothe.de/onjen/nixos-config"; + flags = [ "--no-write-lock-file" ]; + allowReboot = true; + dates = "daily"; + }; + nix.gc = { automatic = true; dates = "weekly";