From 0f4a0ba18b651f9d51cca0d1fd5bb5a9224de840 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 17 Jan 2025 09:35:16 +0000 Subject: [PATCH] add autoUpgrade to sparky --- hosts/sparky/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/sparky/default.nix b/hosts/sparky/default.nix index 692a36e..8a4ee65 100644 --- a/hosts/sparky/default.nix +++ b/hosts/sparky/default.nix @@ -75,6 +75,16 @@ in { services.displayManager.defaultSession = "cinnamon"; services.libinput.enable = true; + system.services.nixosAutoUpgrade = { + enable = true; + persistent = true; + reboot = false; + pushUpdates = false; + configDir = "/etc/nixos"; + onCalendar = "*-*-* 07:00:00"; + user = "media"; + }; + services.xserver = { enable = true; videoDrivers = ["nvidia"];