mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-21 15:17:14 +02:00
e902a9bdb1
fix: nvidia: revert to prod driver to fix GTK4 apps hang on close
Desktop Environment Configurations
This directory contains desktop environment and window manager configurations managed by Home Manager.
Available Configurations
Window Managers
- hyprland: Hyprland compositor configuration with custom keybindings, settings, and window rules
- niri: Niri compositor configuration with custom settings, keybindings, spawn-at-startup rules, and window rules
Base Desktop Environment
- base: Common desktop configurations shared across all environments, including:
- Desktop applications (anyrun, mako, waybar, wlogout)
- Creative tools and media applications
- Development tools
- Eye protection utilities (gammastep)
- Fcitx5 input method framework
- Games and gaming utilities
- GTK theme configurations
- Immutable file handling
- Note-taking applications
- Wallpaper management with auto-switcher
- Wayland applications
- XDG desktop configurations
Editor Configurations
- editors: Text editor configurations and integrations
Why install Desktop Environments in Home Manager instead of NixOS Module?
-
Configuration Location: Desktop environment configuration files are located in
~/.config, which can be easily managed by Home Manager. -
User-specific Services: Many user-specific systemd services (gammastep, wallpaper-switcher, etc.) can be easily managed by Home Manager. If desktop environments were configured via NixOS Module, these user-level services might fail to start automatically. With Home Manager modules, we can control systemd service dependency order more effectively.
-
System Benefits: By minimizing package installation through NixOS Module:
- Makes the NixOS system more secure and stable
- Increases portability to non-NixOS systems, as Home Manager can be installed on any Linux system
- Allows for easier switching between different window managers without system-level changes