mirror of https://gitlab.crans.org/nounous/nixos
26 lines
417 B
Nix
26 lines
417 B
Nix
{ config, ... }:
|
|
{
|
|
name = "vaultwarden";
|
|
description = "Vaultarden du crans, gestionnaire de mot de passe";
|
|
id = 159;
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
srv-nat.enable = true;
|
|
};
|
|
|
|
reverseproxy.vhosts = {
|
|
"vaultwarden" = {
|
|
proxyPass = config.networking.adm.ipv4.address;
|
|
aliases = [ "pass" ];
|
|
};
|
|
};
|
|
|
|
monitoring = {
|
|
nginx.enable = true;
|
|
};
|
|
|
|
resticClient.when = "04:44";
|
|
}
|