auto-upgrade: reduce service PATH
1 file changed, 1 insertion(+), 6 deletions(-)
changed files
M system/settings/configuration/auto-upgrade.nix → system/settings/configuration/auto-upgrade.nix
@@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: let@@ -11,11 +10,7 @@ { systemd.services.update-nixfiles = { startAt = config.system.autoUpgrade.dates; wantedBy = [ "nixos-upgrade.service" ]; - path = with pkgs; [ - openssh - nix - config.programs.git.package - ]; + path = [ config.programs.git.package ]; serviceConfig = { Type = "oneshot"; User = "alin";