16 lines
280 B
Nix
Executable file
16 lines
280 B
Nix
Executable file
{ config, ... }:
|
|
let
|
|
inherit (config.networking) domain;
|
|
hostname = "bitwarden.${domain}";
|
|
in
|
|
{
|
|
imports = [
|
|
(import ../../../modules/vaultwarden.nix {
|
|
domain = hostname;
|
|
})
|
|
];
|
|
|
|
services.nginx.virtualHosts."${hostname}" = {
|
|
useACMEHost = domain;
|
|
};
|
|
}
|