opencloud fucked still lmao
This commit is contained in:
@@ -13,14 +13,17 @@ let
|
||||
services.opencloud = {
|
||||
enable = true;
|
||||
port = cfg.port;
|
||||
environment = {
|
||||
OC_OIDC_ISSUER = "";
|
||||
OC_EXCLUDE_RUN_SERVICES = "idp";
|
||||
PROXY_OIDC_REWRITE_WELLKNOWN = true;
|
||||
PROXY_USER_OIDC_CLAIM = "preferred_username";
|
||||
PROXY_AUTOPROVISION_ACCOUNTS = true;
|
||||
PROXY_ROLE_ASSIGNMENT_DRIVER = "oidc";
|
||||
};
|
||||
stateDir = cfg.dataDir;
|
||||
address = "0.0.0.0";
|
||||
url = "https://10.0.1.3:${toString cfg.port}";
|
||||
# environment = {
|
||||
# OC_OIDC_ISSUER = "";
|
||||
# OC_EXCLUDE_RUN_SERVICES = "idp";
|
||||
# PROXY_OIDC_REWRITE_WELLKNOWN = "true";
|
||||
# PROXY_USER_OIDC_CLAIM = "preferred_username";
|
||||
# PROXY_AUTOPROVISION_ACCOUNTS = "true";
|
||||
# PROXY_ROLE_ASSIGNMENT_DRIVER = "oidc";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
@@ -43,11 +46,11 @@ in
|
||||
options.${namespace}.services.opencloud = {
|
||||
enable = mkEnableOption "opencloud service";
|
||||
|
||||
port = mkOpt types.int 4000 "Port for opencloud to be hosted on";
|
||||
port = mkOpt types.int 8400 "Port for opencloud to be hosted on";
|
||||
|
||||
localAddress = mkOpt types.str "127.0.0.1" "local address of the service";
|
||||
|
||||
dataDir = mkOpt types.str "" "Path to the data dir";
|
||||
dataDir = mkOpt types.str "/media/nas/main/nix-app-data/opencloud" "Path to the data dir";
|
||||
|
||||
reverseProxy = mkReverseProxyOpt;
|
||||
};
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
};
|
||||
lubelogger.enable = true;
|
||||
nextcloud.enable = true;
|
||||
opencloud = {
|
||||
enable = false;
|
||||
port = 9200;
|
||||
};
|
||||
onlyoffice.enable = true;
|
||||
ai.enable = true;
|
||||
paperless.enable = true;
|
||||
|
||||
@@ -157,7 +157,8 @@ in
|
||||
3001
|
||||
3333
|
||||
5201 # iperf
|
||||
8448
|
||||
8400
|
||||
9200
|
||||
];
|
||||
allowedUDPPorts = config.${namespace}.network.firewall.allowedTCPPorts;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user