mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
Reduce use of lib.optionalString
This commit is contained in:
parent
31bc84ee6c
commit
018565dd38
2 changed files with 24 additions and 25 deletions
|
|
@ -18,8 +18,8 @@ in
|
|||
[
|
||||
"--keep 10"
|
||||
"--keep-since 7d"
|
||||
(lib.optionalString cfg.onlyCleanRoots "--no-gc")
|
||||
]
|
||||
++ lib.optional cfg.onlyCleanRoots "--no-gc"
|
||||
|> lib.concatStringsSep " ";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue