mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-16 12:19:10 +00:00
profiles/dev: remove Nix profile upgrade user service
It's not useful for much so we're removing it.
This commit is contained in:
parent
795723c17f
commit
1e75e43c5a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user