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";
|
|
|
|
|
2024-05-28 08:56:45 +02:00
|
|
|
ADMIN_TOKEN = "${../../nix-secrets/dafoe/vaultwarden/admin-token}";
|
2024-05-08 11:03:22 +02:00
|
|
|
|
2024-05-28 08:56:45 +02:00
|
|
|
YUBICO_CLIENT_ID = "${../../nix-secrets/dafoe/vaultwarden/yubico-id}";
|
|
|
|
YUBICO_SECRET_KEY = "${../../nix-secrets/dafoe/vaultwarden/yubico-secret}";
|
2024-05-08 11:03:22 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|