hainich: fix alps webmail
This commit is contained in:
parent
a3f1f5b8df
commit
4c8d4af865
2 changed files with 10 additions and 4 deletions
|
@ -179,7 +179,13 @@ contact@hacc.space info@hacc.space'';
|
||||||
|
|
||||||
systemd.services.alps = {
|
systemd.services.alps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
script = "${pkgs.alps}/bin/alps -theme sourcehut imaps://mail.hacc.space:993 smtps://mail.hacc.space:465";
|
script = "${pkgs.alps}/bin/alps -theme alps imaps://mail.hacc.space:993 smtps://mail.hacc.space:465";
|
||||||
unitConfig.WorkingDirectory = "${pkgs.alps}/share/alps";
|
serviceConfig.WorkingDirectory = "${pkgs.alps}/share/alps";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."mail.hacc.space" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://[::1]:1323";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,10 @@ buildGoModule rec {
|
||||||
|
|
||||||
src = fetchGit {
|
src = fetchGit {
|
||||||
url = "https://git.sr.ht/~migadu/alps";
|
url = "https://git.sr.ht/~migadu/alps";
|
||||||
rev = "5cef0aaff2b8b6ee3e00b566123517e241d8cfb8";
|
rev = "51498a2dc37987f55b022efb961b68a282be17ed";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0hdfh6zdrjq97yj60dfsncl02cp8rpx4d4cqhk3zj0bhmpmrzddi";
|
vendorSha256 = "0wc8fb03zlc1gl4nxlsh149gvpvrs3lc0smzrnam9smigg9gw4in";
|
||||||
|
|
||||||
subPackages = [ "cmd/alps" ];
|
subPackages = [ "cmd/alps" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue