1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-11 03:07:06 +00:00
nix-darwin/modules/nix
Emily e182d8dff6 nix: add nix.enable option to disable Nix management
This is an equivalent of the `nix.enable` option from NixOS
and Home Manager. On NixOS, it mostly serves to allow building
fixed‐configuration systems without any Nix installation at
all. It should work for that purpose with nix-darwin too, and the
implementation is largely the same, but the main use case is more
similar to the Home Manager option: to allow the use of nix-darwin
with an unmanaged system installation of Nix, including when there
is another service expecting to manage it, as with Determinate.

By providing an escape hatch to opt out of Nix management entirely,
this will also allow us to consolidate and simplify our existing Nix
installation management, by being more opinionated about things like
taking ownership of the daemon and the build users. Porting one option
from NixOS lets us drop two that only ever existed in nix-darwin and
reduce overall complexity.
2025-02-07 19:44:59 +00:00
..
default.nix nix: add nix.enable option to disable Nix management 2025-02-07 19:44:59 +00:00
linux-builder.nix linux-builder: default maxJobs to amount of cores for Linux builder 2024-11-28 14:16:47 +11:00
nix-darwin.nix nix-tools: set $NIX_PATH 2025-01-20 05:29:44 +00:00
nixpkgs-flake.nix flake: put nixpkgs in NIX_PATH and system registry for flake configs 2024-09-11 08:24:41 +02:00
nixpkgs.nix nixpkgs: make config.nixpkgs.{buildPlatform,hostPlatform} write only 2025-02-03 20:54:01 +00:00