Vibecode refactor of hyprland stuff #2

Merged
torjus merged 12 commits from refactor/hyprland-modular into master 2026-01-30 19:21:13 +00:00
Owner

Summary

Major refactoring of the Hyprland configuration to make it more modular and host-agnostic, plus cleanup of unused legacy files.

Changes

Hyprland Module Refactoring:

  • Consolidated multiple host-specific Hyprland configs into a single home/hyprland/default.nix module
  • Replaced workspaceStrategy option with extraWorkspaces - hosts now define their own workspaces and keybinds
  • Removed lockMonitorNames option - hyprlock now applies to all monitors by default
  • Removed useLockHelper option and lockhelper script - now uses hyprlock directly
  • Added missing waybar module import

New Modules:

  • home/programs/streamcontroller/ - extracted from hyprland module as standalone service

Removed Legacy Files:

  • Old host-specific hyprland configs (hyprland_gunter.nix, hyprland_magicman.nix, hyprland_prismo.nix)
  • Unused hypridle/hyprlock conf files
  • Unused hyprpaper.conf and xdg.nix
  • Unused hypridle.nix module
  • Unused i3 config (home/i3/)
  • Old prismo host (home/prismo.nix, secrets/prismo/)
  • Lockhelper script (lockhelper.nix, lockhelper.sh)

Documentation:

  • Added AGENTS.md with repository conventions

Stats

  • 25 files changed
  • 291 insertions, 1,002 deletions (net -711 lines)

Hosts Updated

  • gunter - now defines its own named workspaces and keybinds
  • magicman - now defines its own numbered workspaces and keybinds
## Summary Major refactoring of the Hyprland configuration to make it more modular and host-agnostic, plus cleanup of unused legacy files. ## Changes **Hyprland Module Refactoring:** - Consolidated multiple host-specific Hyprland configs into a single `home/hyprland/default.nix` module - Replaced `workspaceStrategy` option with `extraWorkspaces` - hosts now define their own workspaces and keybinds - Removed `lockMonitorNames` option - hyprlock now applies to all monitors by default - Removed `useLockHelper` option and lockhelper script - now uses hyprlock directly - Added missing waybar module import **New Modules:** - `home/programs/streamcontroller/` - extracted from hyprland module as standalone service **Removed Legacy Files:** - Old host-specific hyprland configs (`hyprland_gunter.nix`, `hyprland_magicman.nix`, `hyprland_prismo.nix`) - Unused hypridle/hyprlock conf files - Unused `hyprpaper.conf` and `xdg.nix` - Unused `hypridle.nix` module - Unused i3 config (`home/i3/`) - Old prismo host (`home/prismo.nix`, `secrets/prismo/`) - Lockhelper script (`lockhelper.nix`, `lockhelper.sh`) **Documentation:** - Added `AGENTS.md` with repository conventions ## Stats - **25 files changed** - **291 insertions, 1,002 deletions** (net -711 lines) ## Hosts Updated - `gunter` - now defines its own named workspaces and keybinds - `magicman` - now defines its own numbered workspaces and keybinds
torjus added 12 commits 2026-01-30 19:20:30 +00:00
- Create home/hyprland/default.nix module with configurable options
- Add support for monitors, extraEnv, streamcontroller, lockhelper, grimblast, wacom
- Add workspace strategy (numbered vs named per monitor)
- Update magicman config to use new module with minimal config
- Update gunter config to use new module with all customizations
- Remove deprecated Hyprland config files
- Significantly reduce duplication between host configs
- Both configurations build successfully
hyprland: import waybar module
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m12s
Run nix flake check / flake-check (pull_request) Successful in 2m9s
aefa414bf4
torjus merged commit 852547e53f into master 2026-01-30 19:21:13 +00:00
torjus deleted branch refactor/hyprland-modular 2026-01-30 19:21:13 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos#2