Skip to content

modules/zathura: init#157

Open
aquifolly wants to merge 1 commit into
Lassulus:mainfrom
aquifolly:push-yozxkpsoopvr
Open

modules/zathura: init#157
aquifolly wants to merge 1 commit into
Lassulus:mainfrom
aquifolly:push-yozxkpsoopvr

Conversation

@aquifolly
Copy link
Copy Markdown
Contributor

No description provided.

@aquifolly aquifolly marked this pull request as ready for review May 14, 2026 17:05
Comment thread modules/zathura/module.nix Outdated
@aquifolly aquifolly marked this pull request as draft May 14, 2026 23:12
@aquifolly aquifolly force-pushed the push-yozxkpsoopvr branch 2 times, most recently from e8d2205 to 1c3e187 Compare May 15, 2026 18:54
@aquifolly aquifolly force-pushed the push-yozxkpsoopvr branch from 1c3e187 to 38acda5 Compare May 15, 2026 19:11
@aquifolly aquifolly marked this pull request as ready for review May 15, 2026 19:11
Copy link
Copy Markdown
Collaborator

@zimward zimward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

{
_class = "wrapper";
options = {
options = lib.mkOption {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
options = lib.mkOption {
settings = lib.mkOption {

as per RFC42 and consistency with the other modules

default.content =
lib.concatStringsSep "\n" (
lib.optional (config.extraConfig != "") config.extraConfig
++ lib.mapAttrsToList formatLine config.options
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
++ lib.mapAttrsToList formatLine config.options
++ lib.mapAttrsToList formatLine config.settings

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