An opinionated NixOS configuration with Hyprland, featuring: - Modular flake-based architecture - Parameterized user configuration (username, timezone, locale, etc.) - Classical/antiquity theme with Thomas Cole wallpapers - Full Hyprland setup with waybar, rofi, swaync - Custom utility scripts (screenshots, screen recording, WiFi QR) - Neovim with LSP support - Interactive installer for existing NixOS systems - ISO builder for fresh installations Flake outputs: - nixosConfigurations.example - Test configuration - nixosConfigurations.installer - ISO installer - packages.iso - Bootable ISO image - apps.default - Interactive installer - lib.mkHost - Host builder function - templates.default - Starter template Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
520 B
Nix
26 lines
520 B
Nix
# Display manager configuration
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# X11 server (for SDDM and fallback)
|
|
services.xserver.enable = true;
|
|
|
|
# SDDM display manager with Wayland support
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
};
|
|
|
|
# Plasma 6 as fallback desktop (optional)
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
# KDE Connect for phone integration
|
|
programs.kdeconnect.enable = true;
|
|
|
|
# X keyboard layout (for SDDM)
|
|
services.xserver.xkb.layout = "us";
|
|
}
|