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