Skip to content

Repository files navigation

Dotfiles

NixOS, nix-darwin, and Home Manager configurations across personal machines.

Machines

HostRoleHardwareDeploy
ryuLinux desktopIntel i9-14900KS / RTX 5090 / 64GB DDR5 CL36@6000MT/sdeploy -s .#ryu
takoLinux serverIntel Xeon E-2236 / 64GB DDR5deploy -s .#tako
tsubaLinux serverRaspberry Pi 5 / 8GBdeploy -s .#tsuba
kuromacOS laptopApple M4 Pro MacBook / 24GBdeploy -s .#kuro
shiromacOS desktopApple M4 Mac mini / 16GBdeploy -s .#shiro

Layout

  • flake.nix — entry point and device definitions
  • nixos/ — per-host NixOS configs (ryu, tako, tsuba)
  • darwin/ — per-host nix-darwin configs (kuro, shiro)
  • home/ — Home Manager modules (programs/, services/, apps/)
  • modules/ — custom modules (nixos/, darwin/, home/)
  • secrets/ — SOPS-encrypted secrets
  • steamdeck/ — standalone Home Manager config for Steam Deck

Validating

nixos-rebuild build --flake .# current Linux host
darwin-rebuild build --flake .# current macOS host
alejandra fmt .# format all Nix files

Troubleshooting

See TROUBLESHOOTING.md.

TODO

  • Verify Gitea Actions nix copy from shiro to tako still works after dropping gitea-runner from tako's nix.settings.trusted-users. Paths must be signed by cache.shiro-1 (shiro's secret-key-files); unsigned imports or --no-check-sigs will fail for non-trusted users.

Used by

Contributors

Languages