nixos-config/linux/singularity/vaultwarden.nix
2024-01-31 11:06:40 -08:00

14 lines
289 B
Nix

{ config, ... }:
{
services.vaultwarden = {
enable = true;
config = let const = config.constants; in {
# Disable signup
SIGNUPS_ALLOWED = false;
# Specify service port
ROCKET_ADDRESS = const.localhost;
ROCKET_PORT = const.port.vault;
};
};
}