My personal nix configuration leveraging:
Note
Due to GitHub's historic unreliability, active development is hosted on Forgejo. GitHub is maintained as a read-only mirror.
Hosts a Dell XPS 9500 laptop, a NixOS PC, a NixOS VPS, and two Apple silicon MacBooks.
flake.nix
hosts/
modules/
hosts/{desktop,imc,laptop,mac,vps}
barrett/ cross-platform workstation
darwin/ nix-darwin modules
nixos/
devshells.nix project-specific development shells
theme.nix central palette definition
config/ app configs (symlinked into XDG dirs)
services/ services a host can adopt, see below
scripts/ runtime scripts
secrets/ sops-encrypted secrets
pkgs/ custom derivations
- laptop: Dell XPS 9500 workstation.
- desktop: headless NixOS server and remote build host. Forgejo at
forge.barrettruth.comandfinance.barrettruth.com. Runs no compositor:barrett.ui.enableis off, so the Hyprland stack, desktop applications and fonts are absent and only the terminal development environment is installed. - vps: NixOS VPS. Vaultwarden at
vault.barrettruth.com, Authelia atauth.barrettruth.com, Headscale atheadscale.barrettruth.com, and the static sites (barrettruth.com,barrettruth.sh,philipmruth.com,vimdoc-language-server.com,ts.barrettruth.com).forge.barrettruth.comandgit.barrettruth.comredirect to GitHub. - mac: Apple silicon MacBook
- imc: work MacBook at IMC