Files
nix/README.md
2025-08-16 20:28:47 +02:00

48 lines
1.0 KiB
Markdown

# NixOS Configuration
This repo contains my personal NixOS configuration with multiple desktop environments.
## Quick Start
### Available Configurations
- **`nixos`** - GNOME desktop environment
- **`hyprland`** - Hyprland window manager
### Quick Commands
```bash
# Test configuration without switching
./ctl.sh os test hyprland
# Switch to Hyprland
./ctl.sh os rebuild hyprland
```
## Usage
Run `ctl.sh` to see the list of commands to manage the system.
```bash
./ctl.sh
Usage: ctl.sh <command> <subcommand>
~> os
test Rebuild and test OS without new generation
rebuild Rebuild OS and create new generation
upgrade Upgrade channels and rebuild OS
changes Show changes between generations
gc Garbage collect old generations
vm Build and run as VM
~> store
gc Collecting garbage in nix-store
optimise Optimise nix-store
search PACKAGE Search for package
~> shell
run NAME Run a nix-shell from ./shell/
```