- Refactor flake to support host-specific Home Manager module composition. - Move Hyprland and DMS Lua configurations into host-specific directories (`hosts/desktop/config/hypr/`). - Adopt DMS Lua-based compositor management for the desktop host, replacing the legacy static `hyprland.conf`. - Remove redundant `hyprland.conf` from shared modules, enforcing strict host-agnostic vs. host-specific isolation. Rationale: Adopting a Lua-based modular compositor configuration allows for programmatic UI and window management while enabling the laptop host to maintain a separate graphical stack (Niri) without configuration bleed.
11 lines
384 B
Nix
11 lines
384 B
Nix
# 🏠 Desktop Host-Specific Home Manager Configuration
|
|
# This module defines user-space environment configs unique to the desktop host.
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Mount custom Hyprland and DankMaterialShell configuration files declaratively
|
|
home.file.".config/hypr/hyprland.lua".source = ./config/hypr/hyprland.lua;
|
|
home.file.".config/hypr/dms".source = ./config/hypr/dms;
|
|
}
|