Skip to content

About

❄️ My Nix flake for macOS desktops, NixOS desktops, and homelab servers.

Topics

Resources

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

❄️ Aaron's Nix Config ❄️

Catppuccin Macchiato color palette

Home Manager

Overview

A flake for NixOS hosts.

  • Ephemeral root: / is a tmpfs wiped on every boot; only state registered with preservation survives.
  • Storage: LUKS2 with FIDO2 or TPM2 unlock, Btrfs subvolumes, btrbk snapshots of the persistent volume, and an encrypted swapfile for hibernation.
  • Desktop: niri with the Noctalia shell, greetd, PipeWire, and Fcitx5 with Rime.
  • Gaming: Steam with GE-Proton and DW-Proton, plus GameMode and MangoHud; the game library lives on a Btrfs subvolume that snapshots skip.
  • Secrets: sops-nix, with the encrypted files kept in a separate private repository.
  • Modules: collected automatically; apart from the always-on core, each stays off until a host enables it, so a host file is mostly switches.

Hosts

Host Machine Role
river MECHREVO WUJIE 14XA, Ryzen 7 8845HS laptop, niri desktop
janus Proxmox VM, 4 vCPU, 1 GB headless server, LAN proxy with mihomo
selene Beelink SER6 Pro VEST, Ryzen 7 7735HS niri desktop, also reached over SSH
hydra Proxmox VM, home lab headless AI gateway with magpie and mihomo
iris Proxmox VM headless LAN DNS server with AdGuard Home and mosdns

Layout

Path Contents
hosts/ one directory per machine; each becomes a nixosConfigurations entry
modules/ NixOS modules grouped by purpose; user-level settings live beside the system ones
vars/ shared non-secret values such as the user name and SSH public keys
tests/ eval tests for security settings, run by just check
lib/ the module collector and the shared nixpak sandbox module

Security

SECURITY.md lists each security control and the test that checks it, the trusted flake inputs, and how secrets and updates are handled. WORKAROUNDS.md tracks temporary workarounds, pins, and accepted security exceptions, each with the condition for removing it.

References

About

❄️ My Nix flake for macOS desktops, NixOS desktops, and homelab servers.

Topics

Resources

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages