From be9e41bfe500bfe21631b34b14e13b33cdc2dedf Mon Sep 17 00:00:00 2001 From: Bo Jeanes Date: Thu, 25 Jul 2024 18:50:49 +1000 Subject: [PATCH] Let nix-darwin manage daemon Daemon crashed on my second macos machine; perhaps the socket listener will help recovery if it happens again? --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 3f7f848..db49037 100644 --- a/flake.nix +++ b/flake.nix @@ -131,8 +131,11 @@ inputs.nixvim.nixDarwinModules.nixvim ]; + nix.useDaemon = true; + services.nix-daemon.enable = true; + services.nix-daemon.enableSocketListener = true; + nix = { - useDaemon = true; configureBuildUsers = true; ## Control the version of Nix that nix-darwin uses. At time of writing, it defaults to 2.18.x, but latest is 2.23.3.