temp collabora fix
This commit is contained in:
@@ -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 = [
|
||||||
# ...
|
# ...
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user