Skip to content

Commit

Permalink
onlyoffice: let nixos manage the image
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Oct 7, 2024
1 parent 2611fbc commit 5358b22
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/management/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,19 @@ in

virtualisation.oci-containers.containers.onlyoffice = {
image = "onlyoffice/documentserver:8.1.3.2";
imageFile = pkgs.dockerTools.pullImage {
imageName = "docker.io/onlyoffice/documentserver";
imageDigest = "sha256:b9e3c35eab182d3de822a53b109b0f27070f6eacea3b1388b9c50d1182f638f2";
finalImageName = "onlyoffice/documentserver";
finalImageTag = "8.1.3.2";
sha256 = "sha256-qvhj+Hlmviz+KEBVmsyPIzTB3QlVAFzwAY1zDPIBGx1=";
os = "linux";
arch = "x86_64";
};
environmentFiles = [ config.sops.secrets."office_env".path ];
extraOptions = [ "--network=host" ];
};

# enable when exists in nixos-modules
#virtualisation.podman.aggresiveAutoPrune = true;
}

0 comments on commit 5358b22

Please sign in to comment.