mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-06 07:36:23 +01:00
23 lines
621 B
Nix
23 lines
621 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.vaultwarden = {
|
|
enable = true;
|
|
#backupDir = "/vw-backups";
|
|
config = {
|
|
DATA_FOLDER = "/var/lib/bitwarden_rs/";
|
|
DATABASE_URL = "/var/lib/bitwarden_rs/db.sqlite3";
|
|
LOG_FILE = "/var/log/bitwarden";
|
|
WEBSOCKET_ENABLED = true;
|
|
WEBSOCKET_ADDRESS = "0.0.0.0";
|
|
WEBSOCKET_PORT = 3012;
|
|
SIGNUPS_VERIFY = true;
|
|
ROCKET_LOG = "debug";
|
|
ENABLE_WAL = false;
|
|
ADMIN_TOKEN = builtins.readFile ../secret-data/vaultwarden-admin-token;
|
|
DOMAIN = "https://vw.schrottkatze.de";
|
|
SMTP_TIMEOUT = 15;
|
|
ROCKET_PORT = 8812;
|
|
};
|
|
};
|
|
}
|