nix config
  • Lua 45.2%
  • Nix 23.8%
  • Shell 13.2%
  • JavaScript 8.7%
  • Python 7.5%
  • Other 1.4%
Find a file
Barrett Ruth 05ef71d868
Some checks failed
quality / Lint (push) Failing after 5s
quality / Format (push) Failing after 8s
fix(waybar): excessive re-renders
2026-05-03 14:39:54 -04:00
.forgejo docs: add Forgejo issue and PR templates (#18) 2026-05-03 17:05:24 +00:00
.github/workflows ci: redirect GitHub PRs to Forgejo (#17) 2026-05-03 15:57:23 +00:00
config perf(nix): cleanups and more 2026-05-03 14:26:26 -04:00
fonts fix(vps): forgejo theme heatmap gradient + sans-serif body font 2026-04-30 14:44:47 -04:00
hosts perf(nix): cleanups and more 2026-05-03 14:26:26 -04:00
modules perf(nix): cleanups and more 2026-05-03 14:26:26 -04:00
pkgs feat(vps): config optimizations 2026-05-03 14:26:26 -04:00
scripts fix(waybar): excessive re-renders 2026-05-03 14:39:54 -04:00
secrets/vps feat: secrets 2026-04-30 13:53:58 -04:00
.gitignore feat: codex 2026-05-01 14:59:20 -04:00
.sops.yaml feat: secrets 2026-04-30 13:53:58 -04:00
biome.json feat: justifle + biome 2026-04-25 14:51:55 -04:00
flake.lock feat(nix): update nix 2026-05-02 14:33:42 -04:00
flake.nix feat(claude): re-init 2026-05-01 15:02:41 -04:00
justfile feat: justifle + biome 2026-04-25 14:51:55 -04:00
LICENSE chore: switch license to GPL 2026-04-29 22:59:05 -04:00
README.md Revert "docs: add forgejo canonical-home note" 2026-05-01 15:37:35 -04:00
statix.toml ci: fix 2026-03-03 01:34:57 -05:00

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 at vault.barrettruth.com, delta at delta.barrettruth.com. Deploy with just rebuild-vps.
  • laptop — Dell XPS 9500 workstation. Deploy locally with nixos-rebuild switch --flake .#laptop.