Skip to content

neomutt: add module#2253

Draft
mputz86 wants to merge 1 commit into
nix-community:masterfrom
mputz86:neomutt
Draft

neomutt: add module#2253
mputz86 wants to merge 1 commit into
nix-community:masterfrom
mputz86:neomutt

Conversation

@mputz86

@mputz86 mputz86 commented Mar 26, 2026

Copy link
Copy Markdown

Adds a home-manager module for neomutt.
Home-manager config option for neomutt.


@stylix-automation stylix-automation Bot added topic: home-manager Home Manager target topic: modules /modules/ subsystem labels Mar 26, 2026
@mputz86

mputz86 commented Mar 26, 2026

Copy link
Copy Markdown
Author

I dont have the time now to look into the testbed and what the backport means, so this is why I created this PR as draft :).

@trueNAHO trueNAHO left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what the backport means

This will be explained with #2170.

this is why I created this PR as draft :).

Thanks for submitting this PoC. Maybe this inspires someone to finish this.

Comment thread modules/neomutt/meta.nix
{
name = "neomutt";
homepage = "https://github.com/neomutt/neomutt";
maintainers = [ ];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Consider adding yourself as a maintainer.

Comment thread modules/neomutt/hm.nix
Comment on lines +10 to +12
settings = {
color_directcolor = "yes";
};

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nitpick:

Suggested change
settings = {
color_directcolor = "yes";
};
settings.color_directcolor = "yes";

color body #{{base0A-hex}} #{{base08-hex}} "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
color body #{{base08-hex}} #{{base00-hex}} "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This regex should have an explanatory comment.

color index #{{base0C-hex}} #{{base00-hex}} "~F|~(~F)"
color index_author #{{base0B-hex}} #{{base00-hex}} "~F|~(~F)"
color index_subject #{{base0C-hex}} #{{base00-hex}} "~F|~(~F)"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nitpick:

Suggested change

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

Labels

topic: home-manager Home Manager target topic: modules /modules/ subsystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants