orginase services

This commit is contained in:
Tristan 2024-02-17 15:50:18 +00:00
parent 7caa83908d
commit e5f9966329
7 changed files with 80 additions and 34 deletions

View file

@ -1,5 +1,15 @@
{config, ...}:
let
cfg = config.services.vaultwarden;
domain = "vault.tristans.cloud";
in
{
services.vaultwarden = {
enable = true;
};
services.nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."~".proxyPass = "http://localhost:${toString cfg.config.ROCKET_PORT}";
};
}