19 lines
398 B
Nix
19 lines
398 B
Nix
|
|
{ config, ... }:
|
||
|
|
|
||
|
|
{
|
||
|
|
services.vaultwarden = let lh = config.constants.localhost; in {
|
||
|
|
enable = true;
|
||
|
|
config = {
|
||
|
|
# Disable signup
|
||
|
|
SIGNUPS_ALLOWED = false;
|
||
|
|
# Specify service port
|
||
|
|
ROCKET_ADDRESS = lh;
|
||
|
|
ROCKET_PORT = 25487;
|
||
|
|
# Specify notification port
|
||
|
|
WEBSOCKET_ENABLED = true;
|
||
|
|
WEBSOCKET_ADDRESS = lh;
|
||
|
|
WEBSOCKET_PORT = 40513;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|