- set `nix.enable = true`; remove deprecated `services.nix-daemon.enable` 🔥
- replace unsafe `nix.settings.auto-optimise-store` with `nix.optimise.automatic`
- rename Touch ID option to `security.pam.services.sudo_local.touchIdAuth`
- add `system.primaryUser = "danny"` so user-scoped macOS defaults apply under root activation
- keep GC schedule; retain `nixpkgs.hostPlatform = "aarch64-darwin"`
- (minor) expand `environment.systemPackages` with `git`, `gnupg`, `coreutils`
This adapts the config to recent nix-darwin changes and fixes evaluation failures during `darwin-rebuild`.
|
||
|---|---|---|
| .. | ||
| hosts | ||
| configuration.nix | ||
| fish.nix | ||
| flake.lock | ||
| flake.nix | ||
| hardware-configuration.nix | ||
| neovim.nix | ||
| readme.md | ||
| tmux.nix | ||
| uxplay.nix | ||
| wsl.conf | ||
Rebuild nixos and points to dotfiles dir:
sudo nixos-rebuild switch --flake ~/dotfiles/nixos#macbookair
# or
sudo nixos-rebuild switch --flake ~/dotfiles/nixos#wsl