From 02f2146ac09478eca5cd7260e69c9830f5b1d7c4 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Wed, 9 Mar 2022 20:00:29 +0000 Subject: [PATCH] daemon --- profiles/base-darwin/nix.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/profiles/base-darwin/nix.nix b/profiles/base-darwin/nix.nix index 7c2e20f..c0378ee 100644 --- a/profiles/base-darwin/nix.nix +++ b/profiles/base-darwin/nix.nix @@ -1,10 +1,11 @@ { inputs, config, lib, ... }: { nix = { + package = pkgs.nixFlakes; + useDaemon = true; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; - extraOptions = lib.optionalString - (lib.versionAtLeast config.nix.package.version "2.4") '' - experimental-features = nix-command flakes - ''; + extraOptions = '' + experimental-features = nix-command flakes + ''; }; nixpkgs = { config = { allowUnfree = true; };