nix config
- Lua 45.2%
- Nix 23.8%
- Shell 13.2%
- JavaScript 8.7%
- Python 7.5%
- Other 1.4%
| .forgejo | ||
| .github/workflows | ||
| config | ||
| fonts | ||
| hosts | ||
| modules | ||
| pkgs | ||
| scripts | ||
| secrets/vps | ||
| .gitignore | ||
| .sops.yaml | ||
| biome.json | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
| statix.toml | ||
nix
My personal nix configuration leveraging:
Hosts a Dell XPS 9500 laptop and a NixOS VPS. The VPS runs the canonical Forgejo instance at git.barrettruth.com; GitHub serves as a mirror.
Configuration Structure
flake.nix
hosts/
modules/
hosts/
nixos/
devshells.nix project-specific development shells
theme.nix central palette definition
config/ app configs (symlinked into XDG dirs)
scripts/ runtime scripts
fonts/
pkgs/ custom derivations
Hosts
- vps — NixOS VPS. Public Forgejo at
git.barrettruth.com, Vaultwarden atvault.barrettruth.com,deltaatdelta.barrettruth.com. Deploy withjust rebuild-vps. - laptop — Dell XPS 9500 workstation. Deploy locally with
nixos-rebuild switch --flake .#laptop.