A modular and maintainable NixOS configuration supporting multiple hosts including desktop environments and WSL setups.
-
Clone & enter the repo (the tree expects to live at
~/nixos)git clone https://github.com/Hetav21/nixos.git ~/nixos cd ~/nixos
-
Build & switch
sudo nixos-rebuild switch --flake .#<host>Use
NIX_CONFIG="experimental-features = nix-command flakes"on the first run if flakes are not globally enabled. -
(Optional) Update inputs later
nix flake update sudo nixos-rebuild switch --flake .#<host>
Feel free to open issues or submit pull requests if you find bugs or have suggestions for improvements.
MIT License - See LICENSE file for details
- NixOS - The declarative Linux distribution
- Home Manager - User environment management
- Stylix - System-wide theming
- vasujain275/rudra - Dotfiles for this configuration
- NixOS community for excellent documentation and support