mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
checks: actually fix gc condition
Introduced in 28710738a3
, the check should
_only_ run if the user is not configured not the other way around.
This commit is contained in:
parent
aedd304983
commit
458d09882e
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ in
|
|||
runLink
|
||||
(mkIf config.services.nix-daemon.enable buildUsers)
|
||||
nixStore
|
||||
(mkIf (config.nix.gc.automatic && config.nix.gc.user != null) nixGarbageCollector)
|
||||
(mkIf (config.nix.gc.automatic && config.nix.gc.user == null) nixGarbageCollector)
|
||||
nixChannels
|
||||
nixInstaller
|
||||
(mkIf cfg.verifyNixPath nixPath)
|
||||
|
|
Loading…
Reference in a new issue