test with himalaya
This commit is contained in:
parent
1420946bbd
commit
02b4f103ca
1 changed files with 13 additions and 10 deletions
|
@ -1,4 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
let
|
||||||
|
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { ... }: {
|
||||||
accounts.email.accounts.cyplo = {
|
accounts.email.accounts.cyplo = {
|
||||||
|
@ -10,7 +13,10 @@
|
||||||
imap = {
|
imap = {
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
port = 1143;
|
port = 1143;
|
||||||
tls.enable = false;
|
tls = {
|
||||||
|
enable = false;
|
||||||
|
useStartTls = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
smtp = {
|
smtp = {
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
|
@ -18,8 +24,7 @@
|
||||||
tls.enable = false;
|
tls.enable = false;
|
||||||
};
|
};
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
astroid.enable = true;
|
himalaya.enable = true;
|
||||||
neomutt.enable = true;
|
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
passwordCommand = "${pkgs.pass}/bin/pass proton-bridge";
|
passwordCommand = "${pkgs.pass}/bin/pass proton-bridge";
|
||||||
offlineimap.enable = true;
|
offlineimap.enable = true;
|
||||||
|
@ -41,13 +46,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.astroid = {
|
programs.himalaya = {
|
||||||
enable = true;
|
|
||||||
pollScript = "${pkgs.notmuch}/bin/notmuch new";
|
|
||||||
};
|
|
||||||
programs.neomutt = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = unstable.himalaya;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hydroxide
|
hydroxide
|
||||||
];
|
];
|
||||||
|
@ -55,7 +58,7 @@
|
||||||
systemd.user.services."hydroxide" = {
|
systemd.user.services."hydroxide" = {
|
||||||
Unit.Description = "Bridge to ProtonMail";
|
Unit.Description = "Bridge to ProtonMail";
|
||||||
Install.WantedBy = [ "default.target" ];
|
Install.WantedBy = [ "default.target" ];
|
||||||
Service.ExecStart = "${pkgs.hydroxide}/bin/hydroxide serve";
|
Service.ExecStart = "${unstable.hydroxide}/bin/hydroxide serve";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue