No description
- Nix 94.9%
- Shell 3.9%
- CSS 1.2%
| hosts | ||
| lib | ||
| modules | ||
| pkgs | ||
| scripts | ||
| secrets | ||
| system | ||
| .gitignore | ||
| .hydra.json | ||
| flake.lock | ||
| flake.nix | ||
| fmt-hooks.nix | ||
| hydra.nix | ||
| LICENSE | ||
| README.md | ||
cnix
Note
This repository's listed contributors are bugged after I accidentally force pushed a cloned repo here.
My NixOS daily driver. Started as a single-machine
Hyprland desktop and grew sideways, more workstations,
a Raspberry Pi, and a homelab server. The configuration leans on small per-tool
modules with a tiny custom helper (clib) for host-scoped enables.
Some tools and apps I use:
- nh: A pretty cool "nix helper".
- agenix: Age-based encryption.
- hjem: Nix home management.
- helix: Neat vim-like editor.
- kanata: Keyboard mapping, good stuff.
- quickshell: Wayland shell, replaced waybar.
- fuzzel: App launcher, does what it says.
- microfetch: It's neofetch but better.
Hosts
- bunk: Thinkpad, L13 or thereabouts.
- kima: Main desktop. 9950X, 6950 XT.
- sobotka: Homelab server. 3950X, Intel B580, Radeon Pro W5700.
- toothpc: Brother's desktop. Intel CPU, Nvidia GPU.
- ziggy: Raspberry Pi running secondary pihole and unbound.
Structure
Quick map of the repository. Might not be 100% up to date.
hosts/ # Per-host configs (hardware, settings, hjem)
lib/ # Custom helpers etc
modules/
├ programs/ # Various program modules
├ services/ # Various service modules
├ server/ # Homelab modules, sobotka and ziggy exclusive
└ settings/ # Cross-cutting option declarations
pkgs/ # Custom packages
scripts/ # Shell scripts
secrets/ # Agenix-encrypted secrets
system/ # Flake-level wiring (users, variables, substituters)
The shared modules.nix file in modules/settings/ is a frequent edit point.
Every supported module appears once, host-scoped via single-letter shorthands
(k = kima, s = sobotka, etc.).
Inspiration
Much credit goes to the folks below, great resources! You'll find I've yanked plenty from them.