Something went wrong. Try again.
My personal dotfiles and NixOS configurations.
Something went wrong. Try again.
Files
Verified signature Signed by graham.systems SHA256:j2sN/ABe7mfw8RwswfUi4owiaZYA2sTKCSkKlqYb35M Click to copy SHA
Verified signature Signed by graham.systems SHA256:j2sN/ABe7mfw8RwswfUi4owiaZYA2sTKCSkKlqYb35M Click to copy SHA
Verified signature Signed by graham.systems SHA256:j2sN/ABe7mfw8RwswfUi4owiaZYA2sTKCSkKlqYb35M Click to copy SHA
- Nix 47%
- TypeScript 31%
- Python 22%
README.md
nixos #
Personal NixOS flake: host definitions, shared NixOS profiles, home-manager modules, and the software that is not in nixpkgs. Tracked with jj.
Hosts #
| Host | System | Compositor | Notes |
|---|---|---|---|
brume |
x86_64-linux | — | Server: Knot, Tranquil PDS, Letta agents |
monolith |
x86_64-linux | Umbriel | Desktop, NVIDIA, DP-1 3440x1440 |
obelisk |
aarch64-linux | niri | Laptop |
obelisk-umbriel |
aarch64-linux | Umbriel | Same laptop as obelisk, other compositor |
Hosts are discovered from hosts/*/default.nix by lib/mkHost.nix; the
aarch64 ones are listed in hostOverrides in flake.nix.
Layout #
| Path | Contents |
|---|---|
hosts/<name>/ |
One directory per machine: hardware, CPU/GPU tuning, and the imports that make that host. Nothing shared lives here. |
profiles/ |
NixOS profiles a host picks from: base, desktop, server, niri, umbriel, tailscale. |
modules/nixos/apps/ |
NixOS modules for applications (obs, vicinae, sesh, gaming, …), imported by whichever hosts want them. |
modules/nixos/{letta,users} |
NixOS modules for the Letta agents and the user account. |
modules/home/puregarlic/ |
Home-manager modules: desktop/ (noctalia, hokum, compositors, wallpaper, …) and server/. |
modules/keys/ |
SSH signing keys, allowed signers, and git signing config. |
packages/ |
Locally packaged software, each callPackage-able (default.nix). |
extensions/ |
Vendored source trees built by a module rather than packaged: Vicinae extensions. |
checks/ |
Flake checks (nix flake check), e.g. the nushell config completion test. |
secrets/ |
sops-encrypted secrets per host; .sops.yaml at the root holds the recipients. |
docs/ |
Longer-form notes: secrets.md, vicinae.md. |
lib/mkHost.nix |
The host builder used by flake.nix. |
Conventions #
- New hosts need
hosts/<name>/default.nix;hardware.nixstays host-local. - Application wiring goes in
modules/nixos/apps/, compositor wiring inprofiles/plus the matchingmodules/home/puregarlic/desktop/<compositor>.nix. - Anything that is fetched at runtime by an application config (e.g. noctalia plugins) is pinned in its module instead, so switches stay reproducible.