nixos-config/linux/singularity/vaultwarden.nix

15 lines
296 B
Nix
Raw Normal View History

2024-08-14 11:14:20 -07:00
{config, ...}: {
2023-12-06 21:46:16 -08:00
services.vaultwarden = {
2023-10-09 10:44:07 -07:00
enable = true;
2024-08-14 11:14:20 -07:00
config = let
const = config.constants;
in {
2023-10-09 10:44:07 -07:00
# Disable signup
SIGNUPS_ALLOWED = false;
# Specify service port
2023-12-06 21:46:16 -08:00
ROCKET_ADDRESS = const.localhost;
2024-01-31 11:06:40 -08:00
ROCKET_PORT = const.port.vault;
2023-10-09 10:44:07 -07:00
};
};
}