fix email

This commit is contained in:
Motiejus Jakštys 2024-04-29 17:37:40 +03:00
parent a949c1a948
commit cbcd88cbd7

View File

@ -259,15 +259,19 @@ in {
imports = [./plasma.nix]; imports = [./plasma.nix];
xdg.configFile."awesome/rc.lua".source = ./rc.lua; xdg.configFile."awesome/rc.lua".source = ./rc.lua;
programs.tmux.extraConfig = let programs = {
cmd = "${pkgs.extract_url}/bin/extract_url"; mbsync.enable = true;
cfg = pkgs.writeText "urlviewrc" "COMMAND systemd-run --user --collect xdg-open %s";
in '' tmux.extraConfig = let
bind-key u capture-pane -J \; \ cmd = "${pkgs.extract_url}/bin/extract_url";
save-buffer /tmp/tmux-buffer \; \ cfg = pkgs.writeText "urlviewrc" "COMMAND systemd-run --user --collect xdg-open %s";
delete-buffer \; \ in ''
split-window -l 10 "${cmd} -c ${cfg} /tmp/tmux-buffer" bind-key u capture-pane -J \; \
''; save-buffer /tmp/tmux-buffer \; \
delete-buffer \; \
split-window -l 10 "${cmd} -c ${cfg} /tmp/tmux-buffer"
'';
};
home.file.".cache/evolution/.stignore".text = "*.db"; home.file.".cache/evolution/.stignore".text = "*.db";
@ -279,7 +283,7 @@ in {
userName = "motiejus@jakstys.lt"; userName = "motiejus@jakstys.lt";
address = "motiejus@jakstys.lt"; address = "motiejus@jakstys.lt";
realName = "Motiejus Jakštys"; realName = "Motiejus Jakštys";
passwordCommand = "cat ${config.homeDirectory}/.email-creds"; passwordCommand = "cat /home/${username}/.email-creds";
imap.host = "imap.migadu.com"; imap.host = "imap.migadu.com";
smtp.host = "smtp.migadu.com"; smtp.host = "smtp.migadu.com";