diff --git a/modules/services/nix-daemon.nix b/modules/services/nix-daemon.nix index 6f931315..ffc7e651 100644 --- a/modules/services/nix-daemon.nix +++ b/modules/services/nix-daemon.nix @@ -10,7 +10,7 @@ in options = { services.nix-daemon.enable = mkOption { type = types.bool; - default = false; + default = true; description = "Whether to enable the nix-daemon service."; }; diff --git a/pkgs/darwin-installer/default.nix b/pkgs/darwin-installer/default.nix index 5c6d801e..78ca3c88 100644 --- a/pkgs/darwin-installer/default.nix +++ b/pkgs/darwin-installer/default.nix @@ -53,11 +53,6 @@ stdenv.mkDerivation { mkdir -p "$HOME/.nixpkgs" cp "${../../modules/examples/simple.nix}" "$config" chmod u+w "$config" - - # Enable nix-daemon service for multi-user installs. - if [ ! -w /nix/var/nix/db ]; then - sed -i 's/# services.nix-daemon.enable/services.nix-daemon.enable/' "$config" - fi fi # Skip when stdin is not a tty, eg.