-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyprlock: add module #5325
Hyprlock: add module #5325
Conversation
9a63e44
to
be6efa2
Compare
97271f3
to
9a03baa
Compare
29d9a0c
to
5f70778
Compare
@rycee rebased and resolved merge conflicts |
7cb81ee
to
d3b934d
Compare
Thanks! Merged to master now 🙂 |
https://github.com/hyprwm/hyprlock/blob/main/nix/hm-module.nix |
It is done slightly differently, that had nix named attributes and validation unique to each setting. This just validates you're passing in valid nix that can be converted into hyprlang. You can see a linked commit above where I migrated from the flake hm-module to using the home-manager module. Main difference being everything is nested under a settings attribute, the names for attributes need to match the actual hyprlock config names, and there are no default values injected. |
Description
Adding the hyprlock module, similar to #5324
Checklist
Change is backwards compatible.
Code formatted with
./format
.Code tested through
nix-shell --pure tests -A run.all
ornix develop --ignore-environment .#all
using Flakes.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Maintainer CC
@fufexan