19 lines
490 B
Nix
Executable file
19 lines
490 B
Nix
Executable file
{
|
|
services.vaultwarden = {
|
|
enable = true;
|
|
config = {
|
|
DOMAIN = "https://vaultwarden.vatthauer.xyz";
|
|
SIGNUPS_ALLOWED = false;
|
|
|
|
ROCKET_ADDRESS = "127.0.0.1";
|
|
ROCKET_PORT = 8222;
|
|
|
|
ROCKET_LOG = "critical";
|
|
|
|
ADMIN_TOKEN = "${../../nix-secrets/dafoe/vaultwarden/admin-token}";
|
|
|
|
YUBICO_CLIENT_ID = "${../../nix-secrets/dafoe/vaultwarden/yubico-id}";
|
|
YUBICO_SECRET_KEY = "${../../nix-secrets/dafoe/vaultwarden/yubico-secret}";
|
|
};
|
|
};
|
|
}
|