1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-07 01:07:03 +00:00
nix-darwin/modules/system
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
..
defaults Merge pull request #1262 from belak-forks/additional-tiling-options 2025-01-17 14:28:18 +11:00
activation-scripts.nix Revert "{activation-scripts,activate-system}: purify environment" 2025-01-28 02:31:59 +00:00
applications.nix applications: Drop store prefix to generalize 2022-09-13 14:57:50 +02:00
base.nix system: remove unnecessary sudo 2025-01-14 15:56:20 +00:00
checks.nix nix: add nix.enable option to disable Nix management 2025-02-07 19:44:59 +00:00
default.nix system: tweak ShellCheck settings 2025-01-18 19:34:21 +00:00
defaults-write.nix defaults-write: fix activation script conditionalization 2025-01-16 00:13:57 +00:00
etc.nix write-text: remove support for copy 2024-06-15 12:15:13 +01:00
keyboard.nix (feature) Add swapLeftCtrlAndFn 2024-08-05 13:00:32 +02:00
launchd.nix system: replace for f in $(ls ...) with for f in .../* 2024-11-07 17:20:00 +11:00
nvram.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
patches.nix system: replace for f in $(ls ...) with for f in .../* 2024-11-07 17:20:00 +11:00
shells.nix users: allow shell to be managed by macOS 2024-10-27 21:52:41 +11:00
startup.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
version.nix {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00