|
| 1 | +2025-01-30 |
| 2 | +- Previously, some nix-darwin options applied to the user running |
| 3 | + `darwin-rebuild`. As part of a long‐term migration to make |
| 4 | + nix-darwin focus on system‐wide activation and support first‐class |
| 5 | + multi‐user setups, all system activation now runs as `root`, and |
| 6 | + these options instead apply to the `system.primaryUser` user. |
| 7 | + |
| 8 | + You will get an evaluation error if you are using any options to |
| 9 | + which this applies. |
| 10 | + |
| 11 | + To continue using these options, set `system.primaryUser` to the name |
| 12 | + of the user you have been using to run `darwin-rebuild`. In the long |
| 13 | + run, this setting will be deprecated and removed after all the |
| 14 | + functionality it is relevant for has been adjusted to allow |
| 15 | + specifying the relevant user separately, moved under the |
| 16 | + `users.users.*` namespace, or migrated to Home Manager. |
| 17 | + |
| 18 | + Accordingly, `darwin-rebuild` must now be run as root, the |
| 19 | + `system.activationScripts.{extraUserActivation,preUserActivation, |
| 20 | + postUserActivation}` settings have been removed, and all activation |
| 21 | + scripts are now executed as `root` – be careful if you override any |
| 22 | + of them. |
| 23 | + |
| 24 | + If you run into any unexpected issues with the migration, please |
| 25 | + open an issue at <https://github.com/LnL7/nix-darwin/issues/new> |
| 26 | + and include as much information as possible. |
| 27 | + |
1 | 28 | 2025-01-29
|
2 | 29 | - There is now a `nix.enable` toggle to disable management of the Nix
|
3 | 30 | installation. Nix installation management has been made more
|
|
0 commit comments