Compare commits
2 commits
8e99e8a719
...
5eb34861e6
Author | SHA1 | Date | |
---|---|---|---|
5eb34861e6 | |||
4e06370ade |
3 changed files with 21 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
discord
|
discord
|
||||||
signal-desktop
|
signal-desktop
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
|
thunderbird
|
||||||
obs-studio
|
obs-studio
|
||||||
pavucontrol
|
pavucontrol
|
||||||
vscode-fhs
|
vscode-fhs
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./gotify-desktop.nix
|
./gotify-desktop.nix
|
||||||
|
./hydroxide.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
19
hosts/tsuki/services/hydroxide.nix
Normal file
19
hosts/tsuki/services/hydroxide.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = [pkgs.hydroxide];
|
||||||
|
networking.firewall.allowedTCPPorts = [1025 1143];
|
||||||
|
|
||||||
|
systemd.services.hydroxide = {
|
||||||
|
enable = true;
|
||||||
|
wantedBy = [
|
||||||
|
"multi-user.target"
|
||||||
|
];
|
||||||
|
description = "A third-party, open-source ProtonMail bridge";
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
User = "notoh";
|
||||||
|
ExecStart = "${pkgs.hydroxide}/bin/hydroxide -disable-carddav serve";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = 30;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue