This commit is contained in:
Schrottkatze 2023-02-14 17:49:51 +01:00
parent 274d82231f
commit 61e7685757

View file

@ -4,8 +4,6 @@
enable = true; enable = true;
#backupDir = "/vw-backups"; #backupDir = "/vw-backups";
config = { config = {
#WEB_VAULT_FOLDER = "${pkgs.vaultwarden}/share/vaultwarden/vault";
#WEB_VAULT_ENABLED = true;
DATA_FOLDER = "/var/lib/bitwarden_rs/"; DATA_FOLDER = "/var/lib/bitwarden_rs/";
DATABASE_URL = "/var/lib/bitwarden_rs/db.sqlite3"; DATABASE_URL = "/var/lib/bitwarden_rs/db.sqlite3";
LOG_FILE = "/var/log/bitwarden"; LOG_FILE = "/var/log/bitwarden";
@ -17,13 +15,6 @@
ENABLE_WAL = false; ENABLE_WAL = false;
ADMIN_TOKEN = builtins.readFile ../secret-data/vaultwarden-admin-token; ADMIN_TOKEN = builtins.readFile ../secret-data/vaultwarden-admin-token;
DOMAIN = "https://vw.schrottkatze.de"; DOMAIN = "https://vw.schrottkatze.de";
#SMTP_HOST = "mx.example.com";
#SMTP_FROM = "bitwarden@example.com";
#SMTP_FROM_NAME = "Bitwarden_RS";
#SMTP_PORT = 587;
#SMTP_SSL = true;
#SMTP_USERNAME = (import /etc/nixos/secret/bitwarden.nix).SMTP_USERNAME;
#SMTP_PASSWORD = (import /etc/nixos/secret/bitwarden.nix).SMTP_PASSWORD;
SMTP_TIMEOUT = 15; SMTP_TIMEOUT = 15;
ROCKET_PORT = 8812; ROCKET_PORT = 8812;
}; };