mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 21:11:08 +01:00
nix-gc: remove extraneous quotes from shell script
This commit is contained in:
parent
4fcd54df7c
commit
58cef37962
3 changed files with 16 additions and 3 deletions
|
|
@ -111,10 +111,10 @@ in {
|
|||
Unit = { Description = "Nix Garbage Collector"; };
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = toString (pkgs.writeShellScript "nix-gc" ''
|
||||
exec "${nixPackage}/bin/nix-collect-garbage ${
|
||||
ExecStart = toString (pkgs.writeShellScript "nix-gc"
|
||||
"exec ${nixPackage}/bin/nix-collect-garbage ${
|
||||
lib.optionalString (cfg.options != null) cfg.options
|
||||
}"'');
|
||||
}");
|
||||
};
|
||||
};
|
||||
systemd.user.timers.nix-gc = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue