My personal NixOS setup, built with Flakes and Home Manager. Everything is in Catppuccin Mocha: Kitty, Zsh, Rofi, SwayNC, btop, Firefox, Neovim and Waybar (CPU/RAM graphs). OpenClaw (AI assistant) works over Telegram, AmneziaWG keeps the tunnel up, Steam / Gamescope / MangoHud cover gaming.
- NixOS + Flakes
- Home Manager
- agenix
- Hyprland
- Catppuccin Mocha
- OpenClaw
- AmneziaWG
You need NixOS and an age key:
mkdir -p ~/.config/agenix && nix shell nixpkgs#age -c age-keygen -o ~/.config/agenix/age-key.txtsudo mv /etc/nixos /etc/nixos.bak
nix shell nixpkgs#git -c git clone https://github.com/vokrob/nixos-config.git ~/nixos-config
sudo ln -s ~/nixos-config /etc/nixos
nixos-generate-config --show-hardware-config > ~/nixos-config/hosts/nixos/hardware-configuration.nix
grep -oP 'age1\w+' ~/.config/agenix/age-key.txt
# put this key into secrets.nixThe secrets live as encrypted .age files, re-encrypt them with your key:
cd ~/nixos-config
rm -f /etc/nixos/secrets/*.age
nix shell nixpkgs#agenix -c agenix -e secrets/codestats-api-key.age -i ~/.config/agenix/age-key.txt
# repeat for the remaining files listed in secrets.nixsudo nixos-rebuild switch --flake ~/nixos-config#vokrob| alias | what it does |
|---|---|
nix-switch |
update workspace, rebuild |
nix-commit |
stage everything and commit |
nix-log |
commit graph |
v |
nvim |
- packages:
modules/home/packages.nix - theme accent:
blueinmodules/home/features/catppuccin.nix,#89b4fainmodules/home/features/dotfiles.nix,@blueindotfiles/waybar/catppuccin-mocha.css - hotkeys:
modules/home/features/hyprland.nix - neovim:
modules/home/programs/neovim.nix - shell (prompt, aliases):
modules/home/programs/zsh.nix - terminal:
dotfiles/kitty.conf - waybar:
dotfiles/waybar/config.jsonc,dotfiles/waybar/style.css - vpn:
modules/nixos/features/vpn.nix - new host: copy
hosts/nixos/tohosts/<host>/and add it toflake.nix
