hyprland-desktop-module-split #4

Merged
greg merged 6 commits from hyprland-desktop-module-split into master 2026-06-25 21:55:55 -05:00
Owner

Title

Hyprland: split shared desktop module into focused modules

What changed

  • Extracted shared desktop theme helpers into:
    • home/shared/desktop/theme/colors.nix
    • home/shared/desktop/theme/glyphs.nix
    • home/shared/desktop/theme/default.nix
  • Split lock/idle config into home/shared/desktop/lock-idle.nix.
  • Split rofi/dunst/tmpfiles/packages into home/shared/desktop/misc.nix.
  • Split waybar config + waybar-owned scripts into home/shared/desktop/waybar.nix.
  • Moved compositor config to home/shared/desktop/hyprland.nix.
  • Added shared desktop entrypoint home/shared/desktop/default.nix.
  • Repointed Hyprland consumers:
    • home/greg/molly.nix
    • home/w9gth/default.nix
  • Removed legacy monolithic module home/shared/hyprland.nix.
  • Updated docs/comments to the new paths and cleaned stale wording.

Why

This is a pure refactor to establish a clear module boundary:

  • compositor-only config in one place (desktop/hyprland.nix)
  • non-compositor desktop pieces split into dedicated modules
  • shared theme constants centralized

Verification

  • nix eval .#nixosConfigurations.molly.config.system.build.toplevel.drvPath --no-write-lock-file
  • nix eval .#nixosConfigurations.hosaka.config.system.build.toplevel.drvPath --no-write-lock-file
  • Both evals succeed.
## Title Hyprland: split shared desktop module into focused modules ## What changed - Extracted shared desktop theme helpers into: - `home/shared/desktop/theme/colors.nix` - `home/shared/desktop/theme/glyphs.nix` - `home/shared/desktop/theme/default.nix` - Split lock/idle config into `home/shared/desktop/lock-idle.nix`. - Split rofi/dunst/tmpfiles/packages into `home/shared/desktop/misc.nix`. - Split waybar config + waybar-owned scripts into `home/shared/desktop/waybar.nix`. - Moved compositor config to `home/shared/desktop/hyprland.nix`. - Added shared desktop entrypoint `home/shared/desktop/default.nix`. - Repointed Hyprland consumers: - `home/greg/molly.nix` - `home/w9gth/default.nix` - Removed legacy monolithic module `home/shared/hyprland.nix`. - Updated docs/comments to the new paths and cleaned stale wording. ## Why This is a pure refactor to establish a clear module boundary: - compositor-only config in one place (`desktop/hyprland.nix`) - non-compositor desktop pieces split into dedicated modules - shared theme constants centralized ## Verification - `nix eval .#nixosConfigurations.molly.config.system.build.toplevel.drvPath --no-write-lock-file` - `nix eval .#nixosConfigurations.hosaka.config.system.build.toplevel.drvPath --no-write-lock-file` - Both evals succeed.
greg merged commit 7306a7a970 into master 2026-06-25 21:55:55 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
greg/nixos-config!4
No description provided.