dotfiles.nix/nixos/lavender/containers/vaultwarden/default.nix
2023-05-31 23:41:01 +08:00

17 lines
320 B
Nix

{ ... }:
{
# Vaultwarden
virtualisation.oci-containers.containers."vaultwarden" = {
autoStart = true;
image = "vaultwarden/server:latest";
volumes = [
"/srv/containers/vaultwarden:/data"
];
ports = [ "8484:80" ];
environment = {
DOMAIN = "https://vault.kanto.dev";
};
};
}