Compare commits

..

2 commits

Author SHA1 Message Date
d8032cc35d system stuff even 2026-03-23 14:32:09 +01:00
c62c8e46f3 getting there 2026-03-23 14:31:58 +01:00
7 changed files with 68 additions and 56 deletions

View file

@ -7,7 +7,7 @@
./modules/messaging.nix ./modules/messaging.nix
./modules/r.nix ./modules/r.nix
./modules/tex.nix ./modules/tex.nix
./modules/mail ./modules/mail.nix
./modules/office-gui.nix ./modules/office-gui.nix
./modules/office-cli.nix ./modules/office-cli.nix
./modules/aichat.nix ./modules/aichat.nix

View file

@ -1,51 +1,11 @@
# Alias
set alias_file = ~/.local/share/neomutt/aliases.neomuttrc
source $alias_file
# External
set my_download_folder = ~/tmp
# Status bar
set status_chars = "✔↻٪A"
unset help
# Index
set index_format = "%-25.25F %<[y?%<[7d?%<[d?%[ %H:%M]&%[%a %H:%M]>&%[%d.%m. %Hh]>&%[%d.%m.%Y]> %Z %?X?▼ &?%s"
set strict_threads
set send_charset = "utf-8:iso-8859-1:us-ascii"
set charset = "utf-8"
# Pager view
set pager_index_lines = 10
set pager_context = 3
set pager_stop
set smart_wrap
set menu_scroll
set tilde
unset markers
ignore *
unignore from: to: cc: bcc: date: subject:
unhdr_order *
hdr_order from: to: cc: bcc: date: subject:
alternative_order text/plain text/enriched text/html
auto_view text/html
# Attachments
set rfc2047_parameters
set attach_save_dir = $my_download_folder
# Colors # Colors
color indicator white brightblack color status $my_primary_color default
color index $my_primary_color default '~N'
# color indicator default foreground
color index_flags brightmagenta default '.*' color index_flags brightmagenta default '.*'
color index_date cyan default color index_date cyan default
color index brightgreen default '~N'
color header brightblack default ".*" color header brightblack default ".*"
color header brightgreen default "^(Subject)" color header brightgreen default "^(Subject)"
color header yellow default "^(From|To|CC|BCC)" color header yellow default "^(From|To|CC|BCC)"

View file

@ -0,0 +1,43 @@
# External
set my_download_folder = ~/tmp
# Status bar
set status_chars = "✔↻٪A"
unset help
# Index
set index_format = "%-25.25F %<[y?%<[7d?%<[d?%[ %H:%M]&%[%a %H:%M]>&%[%d.%m. %Hh]>&%[%d.%m.%Y]> %Z %?X?▼ &?%s"
set strict_threads
set send_charset = "utf-8:iso-8859-1:us-ascii"
set charset = "utf-8"
# Pager view
set pager_index_lines = 10
set pager_context = 3
set pager_stop
set smart_wrap
set menu_scroll
set tilde
unset markers
ignore *
unignore from: to: cc: bcc: date: subject:
unhdr_order *
hdr_order from: to: cc: bcc: date: subject:
alternative_order text/plain text/enriched text/html
auto_view text/html
# Attachments
set rfc2047_parameters
set attach_save_dir = $my_download_folder
# Alias
set alias_file = ~/.local/share/neomutt/aliases.neomuttrc
source $alias_file
source colors.neomuttrc

View file

@ -12,6 +12,7 @@ let
set nm_record_tags = "+sent -inbox -unread +${ accountName }"; set nm_record_tags = "+sent -inbox -unread +${ accountName }";
set my_signature = ${ pkgs.writeText "signature.txt" config.accounts.email.accounts.${accountName}.signature.text } set my_signature = ${ pkgs.writeText "signature.txt" config.accounts.email.accounts.${accountName}.signature.text }
set status_format = " [ %r ] $my_account %f (%lB) %> %m messages%?n? [ %n new ]?%?d? [ %d to delete ]?%?t? [ %t tagged ]? " set status_format = " [ %r ] $my_account %f (%lB) %> %m messages%?n? [ %n new ]?%?d? [ %d to delete ]?%?t? [ %t tagged ]? "
source colors.neomuttrc
''; '';
makeAccount = accountName: { makeAccount = accountName: {
@ -84,11 +85,11 @@ in
''; '';
}; };
neomutt = { neomutt = {
extraConfig = makeConfig name + '' extraConfig = ''
color status blue default set my_primary_color=blue
alternates ^tstraube@(em|rz)?.uni-frankfurt.de$ alternates ^tstraube@(em|rz)?.uni-frankfurt.de$
set smime_is_default set smime_is_default
''; '' + makeConfig name;
}; };
}; };
@ -105,6 +106,7 @@ in
neomutt = { neomutt = {
extraConfig = makeConfig name + '' extraConfig = makeConfig name + ''
color status green default color status green default
set my_primary_color=green
alternates @t9e.me$ @ktiu.net$ ^(tillkowski|till.straube)@gmail.com$ alternates @t9e.me$ @ktiu.net$ ^(tillkowski|till.straube)@gmail.com$
set reverse_name set reverse_name
''; '';
@ -126,6 +128,7 @@ in
neomutt = { neomutt = {
extraConfig = makeConfig name + '' extraConfig = makeConfig name + ''
color status red default color status red default
set my_primary_color=red
''; '';
}; };
passwordCommand = "pass ksh/systemli"; passwordCommand = "pass ksh/systemli";
@ -259,11 +262,11 @@ in
{ key = "l"; map = [ "index" "pager" ]; action = "<enter-command>unset signature<enter><list-reply>"; } { key = "l"; map = [ "index" "pager" ]; action = "<enter-command>unset signature<enter><list-reply>"; }
]; ];
extraConfig = builtins.readFile ./config.neomuttrc; extraConfig = builtins.readFile ../dotfiles/neomutt/config.neomuttrc;
}; };
xdg.configFile."neomutt/bindings.neomuttrc".source = ./bindings.neomuttrc; xdg.configFile."neomutt/colors.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/neomutt/colors.neomuttrc";
xdg.configFile."neomutt/bindings.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/neomutt/bindings.neomuttrc";
programs.neovim.plugins = with pkgs.vimPlugins; [ programs.neovim.plugins = with pkgs.vimPlugins; [
{ {
plugin = vim-pathogen; plugin = vim-pathogen;

View file

@ -135,6 +135,13 @@
''; '';
} }
{
plugin = catppuccin-nvim;
config = ''
colorscheme catppuccin-nvim
'';
}
# { # {
# plugin = papercolor-theme; # plugin = papercolor-theme;
# config = '' # config = ''

View file

@ -2,12 +2,11 @@
{ {
programs.niri.enable = true; programs.niri.enable = true;
programs.dms-shell.enable = true; programs.dms-shell.enable = true;
services.gnome.gnome-keyring.enable = lib.mkForce false; services.gnome.gnome-keyring.enable = lib.mkForce false;
programs.nm-applet.enable = false;
programs.firefox.preferences = { # programs.firefox.preferences = {
"widget.gtk.libadwaita-colors.enabled" = false; # "widget.gtk.libadwaita-colors.enabled" = false;
}; # };
} }