Skip to content

feat/darwin host fi - #136

Merged
Multipixelone merged 8 commits into
mainfrom
feat/darwin-host-fi
Jun 29, 2026
Merged

feat/darwin host fi#136
Multipixelone merged 8 commits into
mainfrom
feat/darwin-host-fi

Conversation

@Multipixelone

Copy link
Copy Markdown
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.
@Multipixelone
Multipixelone merged commit 30425d7 into main Jun 29, 2026
3 checks passed
@Multipixelone
Multipixelone deleted the feat/darwin-host-fi branch June 29, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant