Skip to content

vaultwarden

The server for the centralized password manager bitwarden

Categories

Uncategorized

After enabling the clan module, user accounts have to be created manually in the webinterface. This is done by visiting vaultwarden.example.com/admin and typing in the admin password. You can get the admin password for vaultwarden by executing:

clan secrets get  <machine-name>-vaultwarden-admin
To see all secrets tied to vaultwarden execute:
clan secrets list | grep vaultwarden

Usage via Inventory

This module cannot be used via the inventory interface.

Usage via Nix

This module can be also imported directly in your nixos configuration. Although it is recommended to use the inventory interface if available.

Some modules are considered 'low-level' or 'expert modules' and are not available via the inventory interface.

{config, lib, inputs, ...}: {
    imports = [ inputs.clan-core.clanModules.vaultwarden ];
    # ...
}

Module Options

The following options are available for this module.

clan.vaultwarden.allow_signups

Allow signups for new users

Type: boolean

Default:

false

vaultwarden

clan.vaultwarden.domain

The domain to use for Vaultwarden

Type: string

Example
"bitwarden.example.com"

vaultwarden

clan.vaultwarden.port

The port to use for Vaultwarden

Type: signed integer

Default:

3011

vaultwarden

clan.vaultwarden.smtp.from

From whom the email is coming from

Type: string

Example
"foobar@example.com"

vaultwarden

clan.vaultwarden.smtp.host

The email server domain address

Type: string

Example
"smtp.example.com"

vaultwarden

clan.vaultwarden.smtp.username

The email server username

Type: string

Example
"foobar@example.com"

vaultwarden