nixos-dotfiles/hosts/hypnos/services/vaultwarden.nix

13 lines
288 B
Nix
Raw Normal View History

inputs: { config, pkgs, ... }: {
services.vaultwarden = {
enable = true;
backupDir = "/var/vaultwarden/backups";
config = {
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 3002;
DOMAIN = "https://pwd.gra.phite.ro";
SIGNUPS_ALLOWED = false;
};
};
}