clanModules: Init vaultwarden, the bitwarden server

This commit is contained in:
Qubasa
2024-08-19 11:40:46 +02:00
parent 234ac6965a
commit 586c5adf71
5 changed files with 174 additions and 7 deletions

View File

@@ -143,6 +143,7 @@ in
"dyndns"
"enable"
] "Just define clan.dyndns.settings to enable it")
../nginx
];
config = lib.mkMerge [
@@ -158,11 +159,6 @@ in
createHome = true;
};
networking.firewall.allowedTCPPorts = lib.mkIf cfg.server.enable [
80
443
];
services.nginx = lib.mkIf cfg.server.enable {
enable = true;
virtualHosts = {
@@ -249,7 +245,6 @@ in
PrivateDevices = "yes";
ProtectKernelModules = "yes";
ProtectKernelTunables = "yes";
WorkingDirectory = "/var/lib/${name}";
ReadWritePaths = [
"/proc/self"