Skip to content

feat(wrapperModules.hyprland): init#567

Open
jonas-elhs wants to merge 1 commit into
BirdeeHub:mainfrom
jonas-elhs:push-kpmnkpssnozs
Open

feat(wrapperModules.hyprland): init#567
jonas-elhs wants to merge 1 commit into
BirdeeHub:mainfrom
jonas-elhs:push-kpmnkpssnozs

Conversation

@jonas-elhs

@jonas-elhs jonas-elhs commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

This PR adds a wrapper module for hyprland, though only for the lua configuration. In addition it automatically loads hyprland plugins.

Additional features that could be added are old hyprlang configuration based on an attrset and support for split configuration files.

@jonas-elhs
jonas-elhs force-pushed the push-kpmnkpssnozs branch 2 times, most recently from 06f8a74 to 049dea2 Compare July 1, 2026 19:08
@iynaix

iynaix commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Perhaps you could add something like:

config.drv.installPhase = ''
    runHook preInstall
    export XDG_RUNTIME_DIR=$(mktemp -d)
    ${lib.getExe config.package} --verify-config -c "${config.constructFiles.generatedConfig.path}"
    runHook postInstall
'';

to validate the hyprland config, similar to the validation in the niri and mango modules?

@jonas-elhs

Copy link
Copy Markdown
Contributor Author

Thanks for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants