From c5eefe187e9094bce34f5cbcdb61fdcc7add7ffb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 1 Mar 2024 12:13:33 -0500 Subject: [PATCH] added autoupgrade with flake daily on boot --- nix/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index 1aed883c..cf7a0715 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -4,8 +4,13 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; - system.autoUpgrade.enable = false; - system.autoUpgrade.allowReboot = false; + system.autoUpgrade = { + enable = true; + allowReboot = false; + flake = "github:alychace/nixcfg"; + dates = "daily"; + operation = "boot"; + }; # Delete generations older than 7 days. nix.gc = {