Reduce use of lib.optionalString

This commit is contained in:
SebastianStork 2026-01-31 19:26:36 +01:00
parent 31bc84ee6c
commit 018565dd38
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 24 additions and 25 deletions

View file

@ -18,8 +18,8 @@ in
[
"--keep 10"
"--keep-since 7d"
(lib.optionalString cfg.onlyCleanRoots "--no-gc")
]
++ lib.optional cfg.onlyCleanRoots "--no-gc"
|> lib.concatStringsSep " ";
};
};