βοΈ NixOS + Dotfiles Installation Guide
π§ Step 0: Base NixOS Installation
To begin, install a minimal NixOS setup. Follow the official guide below:
π NixOS Btrfs Installation Guide
Once you're done and have rebooted into your system, proceed with the steps below.
π Step 1: Clone Dotfiles
βοΈ Step 2: Configure flake.nix
Open the file ~/Dotfiles/flake.nix
and edit the following fields:
- π₯οΈ
hostname
- π€
username
- π½
drivers
(e.g.nvidia
,amd
, orintel
)
You should also copy your systemβs hardware config:
π Step 3: Apply the Config
Run the following commands to apply the system and home configurations:
# System config
sudo nixos-rebuild switch --flake ~/Dotfiles#YOUR_HOSTNAME
# Home manager config
nix run home-manager -- switch --flake ~/Dotfiles#YOUR_USERNAME
π‘ Replace YOUR_HOSTNAME
and YOUR_USERNAME
accordingly.
π§Ό Step 4: Vivaldi Note (If Used)
If your preferred browser is Vivaldi, make sure to launch it once manually to generate its configuration directories.
Then, re-run the home-manager switch:
This will allow Vivaldi's preconfigured settings to be applied cleanly.
π Step 5: Secrets with agenix
If you are using secrets (like API tokens, SSH keys, etc.), your dotfiles may include a secrets/
directory managed via agenix.
β Step 6: Confirm Everything Works
After setup, verify the following:
- π¨ Theme applied (Nord/Everforest)
- π§ Qtile working with custom bar + widgets
- π₯οΈ Terminal (Kitty / Foot) themed and functional
- π Fish or Zsh shell initialized properly
- π‘ Notification daemon (
SwayNC
) running on Wayland - π€ Neovim opens with correct LSPs and theme
- π§Ύ Scripts and aliases available in terminal (
alias
,l
,hs
, etc.)
β οΈ If anything breaks, try rebuilding again. If you see missing permissions, check your user in the secrets or
flake.nix
.
Enjoy your aesthetic & powerful NixOS setup! π²βοΈ