dotfiles.nix/nixos/lavender/containers/bitwarden/default.nix

17 lines
353 B
Nix
Raw Normal View History

{ ... }:
{
# Bitwarden
virtualisation.oci-containers.containers."bitwarden" = {
autoStart = true;
image = "bitwarden/self-host:beta";
volumes = [
"/srv/containers/bitwarden:/etc/bitwarden"
];
ports = [ "8484:8080" ];
environmentFiles = [
2023-06-02 21:36:24 +08:00
/etc/nixos/nixos/lavender/containers/bitwarden/settings.env
];
};
}