temp collabora fix

This commit is contained in:
mjallen18
2024-07-22 10:21:03 -05:00
parent b2ffed3095
commit 6104df2c69
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ in
virtualisation.oci-containers.containers."${cfg.name}" = { virtualisation.oci-containers.containers."${cfg.name}" = {
autoStart = cfg.autoStart; autoStart = cfg.autoStart;
image = cfg.image; image = cfg.image;
extraOptions = [ "--cap-add=MKNOD" "--privileged" ];
ports = [ "${cfg.port}:9980" ]; ports = [ "${cfg.port}:9980" ];
volumes = [ volumes = [
# ... # ...

View File

@@ -21,7 +21,7 @@ with lib;
image = mkOption { image = mkOption {
type = types.str; type = types.str;
default = "collabora/code"; default = "collabora/code:24.04.5.1.1";
}; };
puid = mkOption { puid = mkOption {
@@ -66,7 +66,7 @@ with lib;
extraParams = mkOption { extraParams = mkOption {
type = types.str; type = types.str;
default = "--o:ssl.enable=false --o:ssl.termination=true --o:net.post_allow.host[0]=.+ --o:storage.wopi.host[0]=.+"; default = "--o:ssl.enable=false --o:ssl.termination=true --o:net.post_allow.host[0]=.+ --o:storage.wopi.host[0]=.+ --o:net.proto=IPv4";
}; };
}; };
} }