email, broader binding for restic server
This commit is contained in:
parent
a4f8d43c07
commit
9e79ab06b1
2 changed files with 47 additions and 3 deletions
|
@ -7,7 +7,6 @@
|
||||||
dataDir = "/data/restic";
|
dataDir = "/data/restic";
|
||||||
appendOnly = true;
|
appendOnly = true;
|
||||||
prometheus = true;
|
prometheus = true;
|
||||||
listenAddress = "brix.cyplo.github.beta.tailscale.net:8000";
|
|
||||||
extraFlags = [ "--no-auth" ];
|
extraFlags = [ "--no-auth" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,60 @@
|
||||||
home-manager.users.cyryl = {...}: {
|
home-manager.users.cyryl = {...}: {
|
||||||
accounts.email.accounts.cyplo = {
|
accounts.email.accounts.cyplo = {
|
||||||
primary = true;
|
primary = true;
|
||||||
address = "cyplO@cyplo.dev";
|
address = "cyplo@cyplo.dev";
|
||||||
aliases = [ "cyplo@cyplo.net" ];
|
aliases = [ "cyplo@cyplo.net" ];
|
||||||
realName = "Cyryl Płotnicki";
|
realName = "Cyryl Płotnicki";
|
||||||
userName = "cyplo";
|
userName = "cyplo";
|
||||||
|
imap = {
|
||||||
|
host = "127.0.0.1";
|
||||||
|
port = 1143;
|
||||||
|
tls.enable = false;
|
||||||
|
};
|
||||||
|
smtp = {
|
||||||
|
host = "127.0.0.1";
|
||||||
|
port = 1025;
|
||||||
|
tls.enable = false;
|
||||||
|
};
|
||||||
|
notmuch.enable = true;
|
||||||
|
astroid.enable = true;
|
||||||
|
msmtp.enable = true;
|
||||||
|
passwordCommand = "${pkgs.pass}/bin/pass proton-bridge";
|
||||||
|
mbsync = {
|
||||||
|
enable = true;
|
||||||
|
create = "maildir";
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
drafts = "drafts";
|
||||||
|
inbox = "inbox";
|
||||||
|
sent = "sent";
|
||||||
|
trash = "trash";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.mbsync.enable = true;
|
||||||
|
programs.msmtp.enable = true;
|
||||||
|
|
||||||
|
programs.notmuch = {
|
||||||
|
enable = true;
|
||||||
|
hooks = {
|
||||||
|
preNew = "mbsync --all";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
programs.astroid = {
|
||||||
|
enable = true;
|
||||||
|
pollScript = "${pkgs.notmuch}/bin/notmuch new";
|
||||||
|
extraConfig = {
|
||||||
|
attachments = {
|
||||||
|
external_open_cmd = "${pkgs.xdg_utils}/bin/xdg-open";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
programs.alot = {
|
||||||
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hydroxide
|
hydroxide
|
||||||
thunderbird
|
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.user.services."hydroxide" = {
|
systemd.user.services."hydroxide" = {
|
||||||
|
|
Loading…
Reference in a new issue