dirty fix collabora
This commit is contained in:
4
hosts/nas/configuration.nix
Normal file → Executable file
4
hosts/nas/configuration.nix
Normal file → Executable file
@@ -48,7 +48,7 @@ in
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
|
||||
nas-apps = {
|
||||
collabora.enable = false;
|
||||
collabora.enable = true;
|
||||
|
||||
deluge.enable = true;
|
||||
|
||||
@@ -80,7 +80,7 @@ in
|
||||
|
||||
ollama.enable = true;
|
||||
|
||||
onlyoffice.enable = true;
|
||||
onlyoffice.enable = false;
|
||||
|
||||
open-webui.enable = true;
|
||||
|
||||
|
||||
5
modules/apps/collabora/default.nix
Normal file → Executable file
5
modules/apps/collabora/default.nix
Normal file → Executable file
@@ -25,7 +25,10 @@ in
|
||||
TZ = cfg.timeZone;
|
||||
username = cfg.username;
|
||||
password = cfg.password;
|
||||
DONT_GEN_SSL_CERT = cfg.dontGenSslCert;
|
||||
domain = "office.mjallen.dev";
|
||||
aliasgroup1 = "https://cloud\.mjallen\.dev:443";
|
||||
aliasgroup2 = "https://cloud\.mjallen\.dev:443";
|
||||
# DONT_GEN_SSL_CERT = cfg.dontGenSslCert;
|
||||
server_name = cfg.serverName;
|
||||
dictionaries = cfg.dictionaries;
|
||||
extra_params = cfg.extraParams;
|
||||
|
||||
2
modules/apps/collabora/options.nix
Normal file → Executable file
2
modules/apps/collabora/options.nix
Normal file → Executable file
@@ -66,7 +66,7 @@ with lib;
|
||||
|
||||
extraParams = mkOption {
|
||||
type = types.str;
|
||||
default = "--o:ssl.enable=false --o:net.post_allow.host=10.0.1.18";
|
||||
default = "--o:ssl.enable=false --o:ssl.termination=true --o:net.post_allow.host[0]=.+ --o:storage.wopi.host[0]=.+";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user