summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-07-01 21:14:14 +0200
committerDaiderd Jordan <daiderd@gmail.com>2019-07-01 21:24:29 +0200
commit8c2b25e60dfd60dc4ca1a0220e5c00f7af4132c4 (patch)
tree93d8c9575b658adbe3abccf2d8f74e656cd96ec8 /modules/system
parent2415dd6e42be9f8d6e1eaa075b14810c27bf907f (diff)
nix: fix useDaemon conditions
The nix.useDaemon option enables using a multi-user install without managing the nix installation with nix-darwin. The following checks apply to both cases.
Diffstat (limited to 'modules/system')
-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 f22b1e7..0ff0893 100644
--- a/modules/system/checks.nix
+++ b/modules/system/checks.nix
@@ -169,7 +169,7 @@ in
system.checks.text = mkMerge [
darwinChanges
runLink
- (mkIf config.services.nix-daemon.enable buildUsers)
+ (mkIf config.nix.useDaemon buildUsers)
nixStore
(mkIf (config.nix.gc.automatic && config.nix.gc.user == null) nixGarbageCollector)
nixChannels