8.nix-darwin/tests
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
..
fixtures/system-defaults-write Add support for additional window tiling options 2025-01-15 22:53:21 -08:00
activation-scripts.nix activation-scripts: add test for pre/post hooks 2018-01-14 16:08:27 +01:00
autossh.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
checks-nix-gc.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
environment-path.nix {environment,nix-tools}: correct default $PATH ordering to match macOS 2025-01-15 23:26:14 +00:00
environment-terminfo.nix Type: TERMINFO_DIRS not TERMINFO 2022-10-20 14:49:26 -06:00
fonts.nix fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
homebrew.nix Add somes tests for homebrew module 2022-08-30 13:30:05 -07:00
launchd-daemons.nix launchd: add basic test for daemons/agents 2019-03-22 20:49:53 +01:00
launchd-setenv.nix launchd: add test for envVariables 2017-05-14 00:43:45 +02:00
networking-hostname.nix tests/networking-hostname: update for lib.escapeShellArg change 2024-09-10 22:11:20 +01:00
networking-networkservices.nix networking: use lib.escapeShellArgs instead of custom version 2024-10-22 16:02:21 +11:00
networking-shell-escape.nix fix shell escaping in networking config 2024-01-19 12:16:32 -05:00
networking-wakeonlan.nix networking: Add wakeOnLan option 2024-10-24 06:13:07 +02:00
nix-enable.nix nix: add nix.enable option to disable Nix management 2025-02-07 19:44:59 +00:00
nixpkgs-overlays.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
power-restart.nix power,sleep: Add options to control restart and sleep behavior 2024-10-24 06:13:11 +02:00
power-sleep.nix power,sleep: Add options to control restart and sleep behavior 2024-10-24 06:13:11 +02:00
programs-ssh-empty-known-hosts.nix programs.ssh: write ssh known_hosts only if there are any set 2023-09-15 08:24:20 -07:00
programs-ssh.nix ssh: use symlinks for authorizedKeys options 2024-06-15 12:15:13 +01:00
programs-tmux.nix tmux: add test for #173 2019-11-02 17:18:39 +01:00
programs-zsh.nix tests: fix negative asserts with grep not working 2024-10-27 21:26:19 +11:00
security-pki.nix security.pki: add test for ca-certificates.crt 2019-01-15 22:14:56 +01:00
services-activate-system-changed-label-prefix.nix activate-system: remove enable option 2024-11-15 14:10:48 +11:00
services-activate-system.nix activate-system: remove enable option 2024-11-15 14:10:48 +11:00
services-aerospace.nix aerospace: add workspace-to-monitor-force-assignment option and fix on-window-detected type #1208 2024-12-29 16:57:26 +05:30
services-buildkite-agent.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
services-dnsmasq.nix fix: use separate config option to set port of DNSmasq 2021-01-28 14:09:30 +01:00
services-eternal-terminal.nix eternal-terminal: add module 2023-07-23 08:20:28 -04:00
services-github-runners.nix github-runners: adapt to NixOS module 2024-02-28 09:40:25 +01:00
services-jankyborders.nix push change to jankyborders test 2024-10-03 08:01:15 -06:00
services-lorri.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
services-netdata.nix netdata: add netdata service in nix-darwin. 2024-10-03 23:42:10 +05:30
services-nextdns.nix nextdns: fix argument handling 2024-07-08 16:36:31 -03:00
services-nix-daemon.nix nix: don’t set $NIX_REMOTE 2025-02-05 15:14:04 +00:00
services-nix-gc.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
services-nix-optimise.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
services-ofborg.nix ofborg: add basic test 2018-03-05 23:00:50 +01:00
services-offlineimap.nix Fix args passing to execvp 2018-08-01 19:40:59 +02:00
services-privoxy.nix Add a privoxy service 2018-08-02 10:09:22 +10:00
services-redis.nix Add some test coverage for redis service 2020-11-02 19:26:39 -08:00
services-skhd.nix skhd: add basic test 2018-03-05 21:41:52 +01:00
services-spacebar.nix module: add spacebar service 2020-05-14 19:41:28 +01:00
services-spotifyd.nix spotifyd: add spotifyd service 2021-03-11 04:20:00 +00:00
services-synapse-bt.nix synapse-bt: Add basic test 2018-09-15 15:37:22 -05:00
services-synergy.nix synergy: Add tests for config options 2018-09-14 21:01:08 +10:00
services-yabai.nix Separate yabai config and extra config by newline 2020-05-15 15:38:57 -04:00
sockets-nix-daemon.nix tests: fix uses of ! 2023-08-05 23:30:16 +01:00
system-defaults-write.nix Add support for additional window tiling options 2025-01-15 22:53:21 -08:00
system-environment.nix Combine system environment tests and add zsh 2018-10-29 09:12:20 +09:00
system-keyboard-mapping.nix (feature) Add swapLeftCtrlAndFn 2024-08-05 13:00:32 +02:00
system-packages.nix system-packages: fix test 2019-01-18 23:36:15 +01:00
system-path.nix Unify environment configuration and don't run in child shells 2018-10-25 01:00:52 +09:00
system-shells.nix add test for environment.shells 2017-12-13 23:05:46 +01:00
users-groups.nix users: create users with home directory /var/empty by default 2024-10-28 11:05:35 +11:00
users-packages.nix users.users: only extend profiles if packages are defined 2019-02-23 12:00:39 +01:00