Let nix-darwin manage daemon

Daemon crashed on my second macos machine; perhaps the socket listener
will help recovery if it happens again?
main
Bo Jeanes 2024-07-25 18:50:49 +10:00
parent 37f1b86923
commit be9e41bfe5
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -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.