Mon Jun 3 05:18:13 PM CEST 2024
This commit is contained in:
parent
a8d4ffd131
commit
8be89a76cd
|
@ -5,12 +5,14 @@
|
|||
".mailcap".text =
|
||||
"text/html; w3m -dump -o -document_charset=%{charset} %s; nametemplate=%s.html; copiousoutput";
|
||||
};
|
||||
home.packages = with pkgs; [ mailcap ];
|
||||
home.packages = with pkgs; [
|
||||
mailcap
|
||||
];
|
||||
|
||||
programs.notmuch = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
database = { path = "/home/user/.config/aerc/mail"; };
|
||||
database = { path = "/home/server/Storage/Thomas/Mail"; };
|
||||
user = {
|
||||
name = "Thomas Avé";
|
||||
primary_email = "email@thomasave.be";
|
||||
|
@ -152,7 +154,10 @@
|
|||
};
|
||||
};
|
||||
extraConfig = {
|
||||
general = { term = "xterm-256color"; };
|
||||
general = {
|
||||
term = "xterm-256color";
|
||||
unsafe-accounts-conf = true;
|
||||
};
|
||||
ui = {
|
||||
border-char-vertical = "│";
|
||||
border-char-horizontal = "─";
|
||||
|
@ -163,21 +168,60 @@
|
|||
dirlist-right = "{{if .Unread}}{{humanReadable .Unread}}{{end}}";
|
||||
dirlist-tree = true;
|
||||
};
|
||||
viewer = { pager = "nvim -u $XDG_CONFIG_HOME/nvim/aerc.lua"; };
|
||||
viewer = { pager = "${pkgs.neovim}/bin/nvim -u ${config.xdg.configHome}/nvim/aerc.lua"; };
|
||||
compose = { address-book-cmd = ''notmuch address "%s"''; };
|
||||
multipart-converters = {
|
||||
"text/html" = "w3m -dump -o display_link_number=1 -T text/html";
|
||||
"text/html" = "${pkgs.w3m}/bin/w3m -dump -o display_link_number=1 -T text/html";
|
||||
};
|
||||
filters = {
|
||||
"text/plain" = "cat";
|
||||
"text/calendar" = "gnome-calendar";
|
||||
"text/calendar" = "${pkgs.gnome.gnome-calendar}/bin/gnome-calendar";
|
||||
"message/delivery-status" = "cat";
|
||||
"message/rfc822" = "cat";
|
||||
"text/html" = "w3m -dump -o display_link_number=1 -T text/html";
|
||||
"text/*" = ''bat -fP --file-name="$AERC_FILENAME"'';
|
||||
"application/x-sh" = "bat -fP -l sh";
|
||||
"text/html" = "${pkgs.w3m}/bin/w3m -dump -o display_link_number=1 -T text/html";
|
||||
"application/x-sh" = "${pkgs.bat}/bin/bat -fP -l sh";
|
||||
};
|
||||
};
|
||||
extraAccounts = {
|
||||
Zoho = {
|
||||
outgoing = "smtps://email%40thomasave.be@smtp.zoho.com";
|
||||
outgoing-cred-cmd = "cat ~/.secrets/Aerc/Zoho.key";
|
||||
source = "maildir:///home/server/Storage/Thomas/Mail/email@thomasave.be/";
|
||||
check-mail-cmd = "ssh server@10.1 /home/server/Containers/mbsync/sync.sh";
|
||||
check-mail-timeout = "60s";
|
||||
default = "Inbox";
|
||||
from = "\"Thomas Avé\" <email@thomasave.be>";
|
||||
cache-headers = true;
|
||||
};
|
||||
UAntwerpen = {
|
||||
outgoing = "ssh server@192.168.1.2 /home/server/Containers/mbsync/send.sh";
|
||||
source = "maildir:///home/server/Storage/Thomas/Mail/Thomas.Ave@uantwerpen.be";
|
||||
check-mail-cmd = "ssh server@10.1 /home/server/Containers/mbsync/sync.sh";
|
||||
check-mail-timeout = "60s";
|
||||
default = "Inbox";
|
||||
from = "\"Thomas Avé\" <Thomas.Ave@uantwerpen.be>";
|
||||
cache-headers = true;
|
||||
};
|
||||
IMEC = {
|
||||
outgoing = "smtp+insecure://ave57%40imec.be@smtp.thomasave.be:1025";
|
||||
outgoing-cred-cmd = "cat ~/.secrets/Aerc/IMEC.key";
|
||||
source = "maildir:///home/server/Storage/Thomas/Mail/Thomas.Ave@imec.be/";
|
||||
check-mail-cmd = "ssh server@10.1 /home/server/Containers/mbsync/sync.sh";
|
||||
check-mail-timeout = "60s";
|
||||
default = "Inbox";
|
||||
from = "\"Thomas Avé\" <Thomas.Ave@imec.be>";
|
||||
cache-headers = true;
|
||||
};
|
||||
NotMuch = {
|
||||
source = "notmuch:///home/server/Storage/Thomas/Mail/";
|
||||
check-mail-cmd = "ssh server@10.1 /home/server/Containers/mbsync/sync.sh";
|
||||
check-mail-timeout = "60s";
|
||||
from = "\"Thomas Avé\" <Thomas.Ave@uantwerpen.be>";
|
||||
query-map = "${config.xdg.configHome}/aerc/map.conf";
|
||||
default = "INBOX";
|
||||
cache-headers = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file."${config.xdg.configHome}/aerc/map.conf".text =
|
||||
|
|
|
@ -66,6 +66,10 @@ in {
|
|||
|
||||
home.packages = with pkgs; [ wl-clipboard ];
|
||||
|
||||
services.cliphist = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
enable = true;
|
||||
includes = [ "gpulab_hosts_config" ];
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
host = "*";
|
||||
identityFile = "~/.secrets/SSH/id_ed25519";
|
||||
};
|
||||
mallorea = {
|
||||
host = "mallorea";
|
||||
hostname = "server.thomasave.be";
|
||||
|
|
Loading…
Reference in New Issue