nixos-config/linux/singularity/vaultwarden.nix

13 lines
264 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-31 21:13:43 -07:00
config = with config.constants; {
2023-10-09 10:44:07 -07:00
# Disable signup
SIGNUPS_ALLOWED = false;
# Specify service port
2024-08-31 21:13:43 -07:00
ROCKET_ADDRESS = localhost;
ROCKET_PORT = port.vault;
2023-10-09 10:44:07 -07:00
};
};
}