fritz: add minimal nix-darwin configuration #1364

Merged
JakeHillion merged 1 commits from push-qxyrtkvuxsnt into main 2026-10-02 19:42:36 +01:00
1 Commits
Author SHA1 Message Date
JakeHillion 66d840c797 fritz: add minimal nix-darwin configuration
commit-validation / validate-single-commit (pull_request) Successful in 10s
flake-update / update (push) Successful in 31s
buildbot/nix-eval Build done. (617 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
fritz is a new Mac with a fresh Nix install and nothing managing its
system configuration, so there is nothing to switch to or auto-update
from this flake.

Added darwin/fritz with a minimal config: flakes, registry pins, zsh and
a few CLI tools. nix-darwin's sudo_local management is disabled because
macOS 27 denies writes to /etc/pam.d even as root, which aborts
activation. darwinConfigurations is now generated from the directories
under darwin/, and records the flake revision like the NixOS hosts do.
stateVersion is set to nix-darwin's current maximum (7) rather than
copied from the old MacBook config.

This gives fritz a configuration to switch to, which an automatic update
mechanism can build on later.

Test plan:
- Built with `nix build '.#darwinConfigurations.fritz.system'`
- Checked jakehillion-mba-m2-15 still evaluates to the same derivation
- CI (formatting; darwin hosts are not built by CI)
2026-10-02 19:41:19 +01:00