summaryrefslogtreecommitdiff
path: root/modules/system/checks.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-01-03 20:53:50 +0100
committerDaiderd Jordan <daiderd@gmail.com>2019-01-03 20:59:23 +0100
commitaedd304983ddf3765434aa2dcc0089d47a524ccc (patch)
tree7106654e34a652cd9518f52ac9cc3c94746b258d /modules/system/checks.nix
parentf05d6a858f26aec0e29612dfc1cb965c0cc9599b (diff)
nix-gc: fix evaluation
Diffstat (limited to 'modules/system/checks.nix')
-rw-r--r--modules/system/checks.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/checks.nix b/modules/system/checks.nix
index 380e741..a2385ec 100644
--- a/modules/system/checks.nix
+++ b/modules/system/checks.nix
@@ -171,7 +171,7 @@ in
runLink
(mkIf config.services.nix-daemon.enable buildUsers)
nixStore
- (mkIf (config.nix.gc.automatic && config.nix.user != null) nixGarbageCollector)
+ (mkIf (config.nix.gc.automatic && config.nix.gc.user != null) nixGarbageCollector)
nixChannels
nixInstaller
(mkIf cfg.verifyNixPath nixPath)