dotfiles/nixos
Daniel Thoren 948798af4a
fix(darwin): migrate to new nix-darwin options & root activation 🔧
- 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`.
2025-09-08 14:52:14 +02:00
..
hosts fix(darwin): migrate to new nix-darwin options & root activation 🔧 2025-09-08 14:52:14 +02:00
configuration.nix feat: add xclip 2025-07-27 14:18:12 +02:00
fish.nix merge fish and neovim from wsl branch 2025-07-03 12:11:04 +00:00
flake.lock feat: restructure flake into multi-host setup 🎨 2025-08-17 20:39:27 +02:00
flake.nix fix(macos): relative path 🐛 2025-09-08 13:52:32 +02:00
hardware-configuration.nix add hardware config to version control 2025-02-07 19:01:36 +01:00
neovim.nix merge: neovim.nix from wsl branch 2025-07-27 14:48:08 +02:00
readme.md feat: restructure flake into multi-host setup 🎨 2025-08-17 20:39:27 +02:00
tmux.nix merge: tmux.nix from wsl branch 2025-07-27 14:52:35 +02:00
uxplay.nix add temp.disabled uxplay to flake.nix 2025-02-07 19:07:15 +01:00
wsl.conf merge: wsl.conf from wsl branch 2025-07-27 14:53:53 +02:00

Rebuild nixos and points to dotfiles dir:

sudo nixos-rebuild switch --flake ~/dotfiles/nixos#macbookair
# or
sudo nixos-rebuild switch --flake ~/dotfiles/nixos#wsl