nix-config/hosts/lkk-nix-1/services/vaultwarden.nix

16 lines
279 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{
config,
pkgs,
...
}: {
services.vaultwarden = {
enable = true;
backupDir = "/var/backup/vaultwarden";
config = {
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 3014;
};
environmentFile = "${config.age.secrets.vaultwarden-env.path}";
};
}