Skip to content

Commit

Permalink
checks: disable nixGarbageCollector for multi-user
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Dec 4, 2023
1 parent 4b9b83d commit 21817dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ in
(mkIf (config.nix.useDaemon && cfg.verifyBuildUsers) buildUsers)
(mkIf (!config.nix.useDaemon) singleUser)
nixStore
(mkIf (config.nix.gc.automatic && config.nix.gc.user == null) nixGarbageCollector)
(mkIf (!config.nix.useDaemon && config.nix.gc.automatic && config.nix.gc.user == null) nixGarbageCollector)
(mkIf cfg.verifyNixChannels nixChannels)
nixInstaller
(mkIf cfg.verifyNixPath nixPath)
Expand Down

0 comments on commit 21817dc

Please sign in to comment.