From 8c2b25e60dfd60dc4ca1a0220e5c00f7af4132c4 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 1 Jul 2019 21:14:14 +0200 Subject: 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. --- modules/system/checks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') 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 -- cgit v1.2.3