Personal NixOS flake for a single machine.
- CPU: Intel (x86_64)
- GPU: NVIDIA (open drivers + CUDA)
- Disk: LUKS-encrypted
- Compositor: niri (Wayland)
- Home Manager for user environment management
- nixvim for Neovim configuration
- Ollama with CUDA support for local LLMs
- Zsh with oh-my-zsh
git clone <this-repo> /etc/nixos
cd /etc/nixosBefore applying, you must customize:
- Username — replace
maxwellinflake.nix,home.nix, andmodules/system/users.nix - Hardware — generate
hardware-configuration.nixfor your machine (it is git-ignored):Also update the LUKS UUID placeholder innixos-generate-config --show-hardware-config > hardware-configuration.nixmodules/system/bootloader.nix. - Git identity — set your name and email in
home-manager/common/git.nix
Then apply:
sudo nixos-rebuild switch --flake .#stacyMIT