14 lines
296 B
Nix
14 lines
296 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;
|
|
};
|
|
};
|
|
}
|