Complete guide for installing and configuring NixOS with River or MangoWC window managers.
- NixOS ISO (minimal or graphical)
- Internet connection
- Bootable USB drive with NixOS
- Basic Linux terminal knowledge
- After a minimal NixOS installation, install git via nix-shell
nix-shell -p git- Configure network (if needed):
# For WiFi
sudo systemctl start wpa_supplicant
wpa_cli
# For Ethernet (usually automatic)- Clone the repository:
# Temporarily in live environment
git clone https://github.com/jvssdev/NordValley.git
cd NordValley- Run the installer:
chmod +x install.sh
./install.shThe script will:
- Request user information
- Install the complete system
- Configure everything automatically
After rebooting into the installed system:
cd ~/NordValley
./install.shOr manually:
# For River
sudo nixos-rebuild switch --flake .#river
# For MangoWC
sudo nixos-rebuild switch --flake .#mangowc# Test the editor
hx
# Test the terminal
ghostty
# Check services
systemctl statusAfter installation:
~/NordValley/ # Main configuration
├── home/ # Configuration files
├── hosts/ # Per-host configurations
├── modules/ # NixOS modules
└── flake.nix # Entry point
## Customization
### Change Window Manager
```bash
# Rebuild with another WM
sudo nixos-rebuild switch --flake ~/NordValley#mangowc
cd ~/NordValley
nix flake update
sudo nixos-rebuild switch --flake .#riverEdit ~/NordValley/modules/packages.nix:
basePackages = [
# Your packages here
neovim
git
# ...
];Then:
sudo nixos-rebuild switch --flake ~/NordValley#riverSuper + T: Open terminalSuper + A: Launcher (Fuzzel)Super + Q: Close windowSuper + X: Power menu
Ctrl + Shift + T: New tabCtrl + Shift + W: Close tabCtrl + Shift + C/V: Copy/Paste
This project is under the MIT license.
Delete stale paths: nix-collect-garbage
Delete stale paths and generations older than x days: nix-collect-garbage --delete-older-than 30d