mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
vaultwarden
This commit is contained in:
parent
a64a07ccf6
commit
27018ec5a3
1 changed files with 25 additions and 0 deletions
|
|
@ -40,6 +40,31 @@
|
|||
flake = "/home/death916/nixconfig/";
|
||||
};
|
||||
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
backupDir = "/var/lib/vaultwarden/backup";
|
||||
config = {
|
||||
# Refer to https://github.com/dani-garcia/vaultwarden/blob/main/.env.template
|
||||
DOMAIN = "https://vaultwarden.death916.xyz";
|
||||
SIGNUPS_ALLOWED = true;
|
||||
|
||||
ROCKET_ADDRESS = "100.72.187.12";
|
||||
ROCKET_PORT = 8222;
|
||||
ROCKET_LOG = "critical";
|
||||
environmentFile = "/var/lib/vaultwarden/vault.env"
|
||||
# This example assumes a mailserver running on localhost,
|
||||
# thus without transport encryption.
|
||||
# If you use an external mail server, follow:
|
||||
# https://github.com/dani-garcia/vaultwarden/wiki/SMTP-configuration
|
||||
# SMTP_HOST = "127.0.0.1";
|
||||
# SMTP_PORT = 25;
|
||||
# SMTP_SSL = false;
|
||||
|
||||
# SMTP_FROM = "admin@bitwarden.example.com";
|
||||
# SMTP_FROM_NAME = "example.com Bitwarden server";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
vim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue