NixOS + Home-Manager flake for two machines.
| Hostname | Machine | CPU | RAM | GPU |
|---|---|---|---|---|
x1 |
Lenovo X1 Carbon (9th Gen) | i7-1165G7 | 32GB | Iris Xe |
kraken |
Custom AMD desktop | R5 3600 | 32GB | RTX 2060 |
- Window Manager — Hyprland (Wayland) with vim-style bindings
- Theming — Stylix for system-wide colorscheming
- Shell — Zsh with atuin, yazi, zoxide
- Audio — PipeWire with wireplumber
- Secrets — SOPS-encrypted secrets per machine
- Install — Disko for declarative disk partitioning + LUKS
- Development — Devenv, Neovim
Prerequisite: The SOPS private key must be available to decrypt credentials during install.
just prep-disk x1 # Destroy disk, setup partitions, lucks, filesystem and mount partitions
just nix-os-install x1 # Install NixOS
# or
just install-nix x1 # does both steps in onemachines/ Per-machine NixOS configs
x1/ ThinkPad X1 Carbon Gen 9
kraken/ AMD + NVIDIA desktop
modules/
nixos/ Shared NixOS modules
hm/ Shared Home-Manager modules
misc/ Shared configs
nixos/ System-wide options (audio, bluetooth, networking, power)
hm/ Desktop configs (Hyprland, terminals, browsers, neovim)
packages/ Custom packages and overlays
secrets/ SOPS-encrypted secrets
assets/ Wallpapers and documentation assets
flake.nixis the entry point, exporting both NixOS and Home-Manager configurations.- Machine-specific configs live under
machines/<host>/, importing shared modules frommisc/. - User home configs are in
machines/<host>/users/<user>/. - Secrets are encrypted with SOPS (
sops..yaml), machine key lives inmachines/<host>/sops.nix. - Dev convenience via
justfile(just upp,just prep-disk x1, etc.).
Inspired by the excellent configs of:



