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
Owner

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,
Touch ID sudo and a few CLI tools. 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)
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, Touch ID sudo and a few CLI tools. 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)
JakeHillion force-pushed push-qxyrtkvuxsnt from c0588f714d to 6fae904ea4 2026-10-02 19:38:19 +01:00 Compare
JakeHillion added 1 commit 2026-10-02 19:41:31 +01:00
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.
66d840c797
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)
JakeHillion force-pushed push-qxyrtkvuxsnt from 6fae904ea4 to 66d840c797 2026-10-02 19:41:31 +01:00 Compare
JakeHillion merged commit 66d840c797 into main 2026-10-02 19:42:36 +01:00
JakeHillion deleted branch push-qxyrtkvuxsnt 2026-10-02 19:42:36 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/nixos#1364