Files
nix-config/home/linux/gui
Ryan Yin 29760ddb27 refactor: update niri, write config in kdl, remove niri-flake (#237)
• Updated input 'nixpkgs':
  → 'github:NixOS/nixpkgs/0254eab410b90ef2420c1059f908ae777e3b02f9?narHash=sha256-/US2Ei9JHXHVBAxV4FX49Q7H5s4UNBrIiOA6Xjzgq44%3D' (2025-12-06)

• Updated input 'home-manager':
    'github:nix-community/home-manager/f4cb25928fafa9ae68660fe71f730fc820a59028?narHash=sha256-5xOuutXM7UPTUcn3uDAD8UlPQsXmqPrX81cXoDOAGcA%3D' (2025-11-26)
  → 'github:nix-community/home-manager/89c9508bbe9b40d36b3dc206c2483ef176f15173?narHash=sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs%2BzlQ07dGQFk4%3D' (2025-12-17)

• Updated input 'nixpkgs-master':
    'github:nixos/nixpkgs/6812bcfd614abedbdb3f68d7b6554eda6ca3e014?narHash=sha256-sNF/PZcuzYBHKRBkerEiPf5mkZM15A3fWD%2BlqpwKc60%3D' (2025-12-15)
  → 'github:nixos/nixpkgs/e50ab9bb181f9fb3ce00e7a6007c70ddaa007203?narHash=sha256-acPMRCAPgPykzkwATwD1EfF7xgmbraAvIJyCeR6bKxc%3D' (2025-12-18)

Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
2025-12-18 19:56:46 -06:00
..
2025-11-01 11:41:29 +08:00
2025-08-21 15:59:43 +08:00

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?

  1. Configuration Location: Desktop environment configuration files are located in ~/.config, which can be easily managed by Home Manager.

  2. 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.

  3. 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