1
0
Fork 0
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:
William Tan 2024-07-31 02:27:17 -04:00 committed by GitHub
parent 4fcd54df7c
commit 58cef37962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 3 deletions

View file

@ -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 = {