From 1e75e43c5abf620831ab75622e969c659915e077 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 23 Jun 2023 17:13:52 +0800 Subject: [PATCH] profiles/dev: remove Nix profile upgrade user service It's not useful for much so we're removing it. --- modules/nixos/profiles/dev.nix | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 03eea5c9..2779d6d6 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -105,29 +105,6 @@ in { github-cli # ...in the GitHub CLI. git-filter-repo # History is written by the victors (and force-pushers which are surely not victors). ]); - - systemd.user.services.nix-upgrade-profile = { - after = [ "default.target" ]; - description = '' - Update service for user-specific Nix profile - ''; - documentation = [ "man:nix3-profile(1)" ]; - environment.NIXPKGS_ALLOW_UNFREE = "1"; - script = "nix profile upgrade '.*'"; - path = [ config.nix.package ]; - startAt = "weekly"; - }; - - systemd.user.timers.nix-upgrade-profile = { - description = '' - Update service for user-specific Nix profile - ''; - wantedBy = [ "default.target" ]; - timerConfig = { - Persistent = true; - RandomizedDelaySec = 50; - }; - }; }) (lib.mkIf cfg.shell.enable {