feat/darwin host fi - #136
Merged
Merged
Conversation
Multipixelone
commented
Jun 29, 2026
Owner
- feat: choreops -> todoist sync
- feat: launch obsidian at session start
- fix: proper fallback model chains
- feat: add nix-darwin support to the flake
- refactor: guard Linux-only packages in homeManager.base for darwin
- feat: port homeManager.base clipboard tooling to macOS
- feat: add fi Apple Silicon darwin host
- feat: add darwin-switch and darwin-bootstrap Justfile recipes
Wire nix-darwin into the existing flake-parts + home-manager structure so the repo can manage aarch64-darwin hosts alongside the NixOS configs. - configurations/darwin.nix: options.configurations.darwin and flake.darwinConfigurations via darwinSystem, with per-host checks and the nix-darwin input declared inline (colmena.nix pattern) - home-manager/darwin.nix: flake.modules.darwin.base wiring home-manager.darwinModules with a /Users home and macOS agenix paths - owner.nix: darwin user (home=/Users, shell=zsh) - flake-file.nix: systems input default-linux -> default so inputs that follow `systems` (e.g. agenix) expose aarch64-darwin packages
These modules contribute Linux-only tooling to the shared homeManager.base (lm_sensors, ethtool, psmisc, efibootmgr, nixos-facter, alsa-utils, imv, the papirus-themed nh-notify wrappers, rmpc's xdg.desktopEntries, ...). Wrap each in stdenv.isLinux so base evaluates on aarch64-darwin while staying identical on NixOS hosts.
wl-clipboard/cliphist are Wayland-only. Use the built-in pbcopy on darwin: 0x0 copies the upload URL, yazi's `y` yanks file paths. The cliphist-based fish `clip` alias and helix's wl-clipboard dependency are made Linux-only (no macOS clipboard-history equivalent).
MacBook (aarch64-darwin) managed via nix-darwin. Registers the host (isDarwin) and adds modules/fi: Touch ID sudo, declarative homebrew and system.defaults, a linux-builder for native aarch64/x86_64-linux builds, and a nixpkgs unfree/insecure predicate mirroring the repo allow-lists.
darwin-switch activates a nix-darwin host; darwin-bootstrap covers the first activation on a fresh Mac before darwin-rebuild is on PATH.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.