From 9cf40ed1afec2fb9e0451f6994a3464fdeded5e6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 21 Sep 2022 14:24:01 +0800 Subject: [PATCH] profiles/dev: add schedule for user profile update --- modules/nixos/profiles/dev.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 703b4a06..e30a459b 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -65,10 +65,11 @@ in { systemd.user.services.upgrade-nix-profile = { description = '' - Update packages installed through `nix profile`. + Update packages installed through 'nix profile'. ''; - enable = false; script = "nix profile upgrade '.*'"; + path = [ config.nix.package ]; + startAt = "weekly"; }; })