nixos/dafoe/services/vaultwarden.nix

20 lines
493 B
Nix
Raw Permalink Normal View History

2024-05-08 11:03:22 +02:00
{
services.vaultwarden = {
enable = true;
config = {
2024-05-08 12:20:42 +02:00
DOMAIN = "https://vaultwarden.vatthauer.xyz";
2024-05-08 11:03:22 +02:00
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 8222;
ROCKET_LOG = "critical";
ADMIN_TOKEN = "${../../nix-secrets/willem/vaultwarden/admin-token}";
YUBICO_CLIENT_ID = "${../../nix-secrets/willem/vaultwarden/yubico-id}";
YUBICO_SECRET_KEY = "${../../nix-secrets/willem/vaultwarden/yubico-secret}";
};
};
}