This commit is contained in:
admin 2024-05-03 07:39:16 +02:00
parent e26f86fd85
commit 642d297710
2 changed files with 23 additions and 0 deletions

22
vaultwarden.nix Normal file
View file

@ -0,0 +1,22 @@
{ ... }:
let
domain = "pw.sondell.org";
port = "8222";
in
{
#
services.vaultwarden = {
enable = true;
};
services.nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${port}/";
};
};
}