all repos — nixfiles @ 87b82f5551c79cb2c18e3debd0a0f68f0daa29f5

System and user configuration, managed by nix and home-manager

auto-upgrade: reduce service PATH

Alin
commit

87b82f5551c79cb2c18e3debd0a0f68f0daa29f5

parent

c63c22433fd5f530e47a81db4da4af8e7d60af8a

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";