mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 05:56:51 +01:00
49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
# NixOS Configuration
|
|
|
|
This repo contains my personal NixOS configuration with multiple desktop environments.
|
|
|
|
## Quick Start
|
|
|
|
### Available Configurations
|
|
- **`gnome`** - GNOME desktop environment
|
|
- **`kde`** - KDE Plasma 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/
|
|
```
|