mirror of
https://github.com/nix-community/home-manager
synced 2025-02-06 00:05:05 +01:00
nh: remove PATH assignment in nh-clean systemd unit
Runs without additions to path. also: - can't use $PATH in Environment= - should add bin directory to path not the exe
This commit is contained in:
parent
a2362a6496
commit
a042868557
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ in {
|
|||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart =
|
||||
"exec ${lib.getExe cfg.package} clean user ${cfg.clean.extraArgs}";
|
||||
Environment = "PATH=$PATH:${config.nix.package}";
|
||||
"${lib.getExe cfg.package} clean user ${cfg.clean.extraArgs}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue