mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
nix-gc: remove unnecessary toString
This commit is contained in:
parent
6911d3e7f4
commit
8b55a6ac58
1 changed files with 3 additions and 5 deletions
|
|
@ -92,11 +92,9 @@ in
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = toString (
|
ExecStart = pkgs.writeShellScript "nix-gc" "exec ${nixPackage}/bin/nix-collect-garbage ${
|
||||||
pkgs.writeShellScript "nix-gc" "exec ${nixPackage}/bin/nix-collect-garbage ${
|
|
||||||
lib.optionalString (cfg.options != null) cfg.options
|
lib.optionalString (cfg.options != null) cfg.options
|
||||||
}"
|
}";
|
||||||
);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.user.timers.nix-gc = {
|
systemd.user.timers.nix-gc = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue