From 9104f896015700acef69d077b4929fccdfe7ea39 Mon Sep 17 00:00:00 2001 From: phartman Date: Sun, 13 Oct 2024 01:13:25 -0500 Subject: [PATCH] Adding Auto Update to NAS --- hosts/nas/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/nas/configuration.nix b/hosts/nas/configuration.nix index c555855..09a6f4e 100644 --- a/hosts/nas/configuration.nix +++ b/hosts/nas/configuration.nix @@ -190,6 +190,11 @@ # Or disable the firewall altogether. # networking.firewall.enable = false; + # Enable Automatic Upgrades + system.autoUpgrade.enable = true; + nix.gc.automatic = true; + nix.gc.dates = "weekly"; # Run garbage collection weekly to free up disk space + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave