A comprehensive NixOS configuration using flakes, featuring multi-machine support with specialized modules for desktop environments, development tools, and system services.
Install NixOS with flakes enabled, then:
# Check configuration
just check
# Switch to legion configuration
just s
# Switch to lain configuration
just l
# Test Legion configuration
just t
# Update all flake inputs
just u
# Clean nix store
just clean
.
├── base/ # Base system configuration (boot, networking, services)
├── modules/ # Modular system features
│ ├── desktop/ # Desktop environments (Hyprland, Niri, COSMIC, Plasma)
│ ├── dev/ # Development tools and editors
│ └── ... # Gaming, fonts, nvidia, etc.
├── system/ # Machine-specific configurations
│ ├── legion/ # Laptop configuration
│ └── lain/ # Desktop/server configuration
├── wrapped/ # Wrapped configurations for shells and panels
├── icons/ # Custom icons
├── wallpapers/ # Wallpaper collection
└── flake.nix # Main flake configuration
MIT License - Copyright (c) 2026-present Jasdeep-Dhillon