Mon Jun 3 05:18:13 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-03 17:18:13 +02:00
parent a8d4ffd131
commit 8be89a76cd
4 changed files with 61 additions and 1492 deletions

1483
h

File diff suppressed because it is too large Load Diff

View File

@ -5,12 +5,14 @@
".mailcap".text = ".mailcap".text =
"text/html; w3m -dump -o -document_charset=%{charset} %s; nametemplate=%s.html; copiousoutput"; "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 = { programs.notmuch = {
enable = true; enable = true;
extraConfig = { extraConfig = {
database = { path = "/home/user/.config/aerc/mail"; }; database = { path = "/home/server/Storage/Thomas/Mail"; };
user = { user = {
name = "Thomas Avé"; name = "Thomas Avé";
primary_email = "email@thomasave.be"; primary_email = "email@thomasave.be";
@ -152,7 +154,10 @@
}; };
}; };
extraConfig = { extraConfig = {
general = { term = "xterm-256color"; }; general = {
term = "xterm-256color";
unsafe-accounts-conf = true;
};
ui = { ui = {
border-char-vertical = ""; border-char-vertical = "";
border-char-horizontal = ""; border-char-horizontal = "";
@ -163,21 +168,60 @@
dirlist-right = "{{if .Unread}}{{humanReadable .Unread}}{{end}}"; dirlist-right = "{{if .Unread}}{{humanReadable .Unread}}{{end}}";
dirlist-tree = true; 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"''; }; compose = { address-book-cmd = ''notmuch address "%s"''; };
multipart-converters = { 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 = { filters = {
"text/plain" = "cat"; "text/plain" = "cat";
"text/calendar" = "gnome-calendar"; "text/calendar" = "${pkgs.gnome.gnome-calendar}/bin/gnome-calendar";
"message/delivery-status" = "cat"; "message/delivery-status" = "cat";
"message/rfc822" = "cat"; "message/rfc822" = "cat";
"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";
"text/*" = ''bat -fP --file-name="$AERC_FILENAME"''; "application/x-sh" = "${pkgs.bat}/bin/bat -fP -l sh";
"application/x-sh" = "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 = home.file."${config.xdg.configHome}/aerc/map.conf".text =

View File

@ -66,6 +66,10 @@ in {
home.packages = with pkgs; [ wl-clipboard ]; home.packages = with pkgs; [ wl-clipboard ];
services.cliphist = {
enable = true;
};
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = { settings = {

View File

@ -5,6 +5,10 @@
enable = true; enable = true;
includes = [ "gpulab_hosts_config" ]; includes = [ "gpulab_hosts_config" ];
matchBlocks = { matchBlocks = {
"*" = {
host = "*";
identityFile = "~/.secrets/SSH/id_ed25519";
};
mallorea = { mallorea = {
host = "mallorea"; host = "mallorea";
hostname = "server.thomasave.be"; hostname = "server.thomasave.be";