Switch to geary
This commit is contained in:
parent
fa507f3e29
commit
63dfc72aa6
@ -31,8 +31,8 @@ with import ../support.nix { inherit lib config; }; {
|
||||
desktop = "org.gnome.FileRoller";
|
||||
};
|
||||
mail = {
|
||||
cmd = "${pkgs.sylpheed}/bin/sylpheed";
|
||||
desktop = "sylpheed";
|
||||
cmd = "${pkgs.gnome3.geary}/bin/geary";
|
||||
desktop = "org.gnome.Geary";
|
||||
};
|
||||
text_processor = {
|
||||
cmd = "${pkgs.abiword}/bin/abiword";
|
||||
|
67
modules/applications/geary.nix
Normal file
67
modules/applications/geary.nix
Normal file
@ -0,0 +1,67 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
gearyConfig = {
|
||||
Account = {
|
||||
label = "";
|
||||
ordinal = 6;
|
||||
prefetch_days = 30;
|
||||
save_drafts = true;
|
||||
save_sent = true;
|
||||
sender_mailboxes = "Alexander Bantyev <balsoft@balsoft.ru>;";
|
||||
service_provider = "other";
|
||||
signature = builtins.replaceStrings ["\n"] ["\\n"] ''
|
||||
--
|
||||
Александр Бантьев /Alexander Bantyev/ aka balsoft
|
||||
|
||||
Nix DevOPS/SRE at serokell.io
|
||||
|
||||
<balsoft@balsoft.ru>
|
||||
<alexander.bantyev@serokell.io>
|
||||
|
||||
matrix://@balsoft:balsoft.ru
|
||||
(https://matrix.to/#/@balsoft:balsoft.ru)
|
||||
https://t.me/balsoft
|
||||
https://github.com/balsoft
|
||||
'';
|
||||
use_signature = true;
|
||||
};
|
||||
Folders = {
|
||||
archive_folder = "Archive;";
|
||||
drafts_folder = "";
|
||||
junk_folder = "";
|
||||
sent_folder = "";
|
||||
trash_folder = "";
|
||||
};
|
||||
Incoming = {
|
||||
credentials = "custom";
|
||||
host = "balsoft.ru";
|
||||
login = "balsoft@balsoft.ru";
|
||||
port = 993;
|
||||
remember_password = true;
|
||||
transport_security = "transport";
|
||||
};
|
||||
Metadata = {
|
||||
status = "enabled";
|
||||
version = 1;
|
||||
};
|
||||
Outgoing = {
|
||||
credentials = "use-incoming";
|
||||
host = "balsoft.ru";
|
||||
port = 587;
|
||||
remember_password = true;
|
||||
transport_security = "start-tls";
|
||||
};
|
||||
};
|
||||
in {
|
||||
programs.geary.enable = true;
|
||||
home-manager.users.balsoft = {
|
||||
xdg.configFile."geary/user-style.css".text = ''
|
||||
*, html, body, body.plain div, body.plain a, body.plain p, body.plain span {
|
||||
background: ${config.themes.colors .bg} !important;
|
||||
color: ${config.themes.colors.fg} !important;
|
||||
font: 16px 'IBM Plex Mono', monospace;
|
||||
}
|
||||
'';
|
||||
xdg.configFile."geary/account_03/geary.ini".text = lib.generators.toGitINI gearyConfig;
|
||||
};
|
||||
}
|
@ -4,7 +4,7 @@ device:
|
||||
./applications/packages.nix
|
||||
./applications/emacs
|
||||
./applications/alacritty.nix
|
||||
./applications/sylpheed.nix
|
||||
./applications/geary.nix
|
||||
./applications/weechat.nix
|
||||
./applications/okular.nix
|
||||
./applications/yt-utilities.nix
|
||||
|
@ -24,7 +24,7 @@ in {
|
||||
];
|
||||
"" = [
|
||||
{ app_id = "org.kde.trojita"; }
|
||||
{ title = ".* - Sylpheed.*"; }
|
||||
{ title = ".*.Geary*"; }
|
||||
{ title = "balsoft : weechat.*"; }
|
||||
{ title = "Spectral"; }
|
||||
{ title = "Slack"; }
|
||||
@ -78,7 +78,9 @@ in {
|
||||
];
|
||||
};
|
||||
startup = [
|
||||
{ command = "${apps.browser.cmd}"; }
|
||||
{ command = apps.browser.cmd; }
|
||||
{ command = apps.mail.cmd; }
|
||||
|
||||
{
|
||||
command =
|
||||
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
|
||||
@ -87,7 +89,6 @@ in {
|
||||
command =
|
||||
"${pkgs.keepassxc}/bin/keepassxc /home/balsoft/projects/nixos-config/misc/Passwords.kdbx";
|
||||
}
|
||||
{ command = "${pkgs.termNote}/bin/noted"; }
|
||||
{ command = "${pkgs.spectral}/bin/spectral"; }
|
||||
{ command = "${pkgs.xorg.xrdb}/bin/xrdb -merge ~/.Xresources"; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user