opencloud fucked still lmao
This commit is contained in:
@@ -13,14 +13,17 @@ let
|
|||||||
services.opencloud = {
|
services.opencloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = cfg.port;
|
port = cfg.port;
|
||||||
environment = {
|
stateDir = cfg.dataDir;
|
||||||
OC_OIDC_ISSUER = "";
|
address = "0.0.0.0";
|
||||||
OC_EXCLUDE_RUN_SERVICES = "idp";
|
url = "https://10.0.1.3:${toString cfg.port}";
|
||||||
PROXY_OIDC_REWRITE_WELLKNOWN = true;
|
# environment = {
|
||||||
PROXY_USER_OIDC_CLAIM = "preferred_username";
|
# OC_OIDC_ISSUER = "";
|
||||||
PROXY_AUTOPROVISION_ACCOUNTS = true;
|
# OC_EXCLUDE_RUN_SERVICES = "idp";
|
||||||
PROXY_ROLE_ASSIGNMENT_DRIVER = "oidc";
|
# 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 = {
|
options.${namespace}.services.opencloud = {
|
||||||
enable = mkEnableOption "opencloud service";
|
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";
|
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;
|
reverseProxy = mkReverseProxyOpt;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,6 +11,10 @@
|
|||||||
};
|
};
|
||||||
lubelogger.enable = true;
|
lubelogger.enable = true;
|
||||||
nextcloud.enable = true;
|
nextcloud.enable = true;
|
||||||
|
opencloud = {
|
||||||
|
enable = false;
|
||||||
|
port = 9200;
|
||||||
|
};
|
||||||
onlyoffice.enable = true;
|
onlyoffice.enable = true;
|
||||||
ai.enable = true;
|
ai.enable = true;
|
||||||
paperless.enable = true;
|
paperless.enable = true;
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ in
|
|||||||
3001
|
3001
|
||||||
3333
|
3333
|
||||||
5201 # iperf
|
5201 # iperf
|
||||||
8448
|
8400
|
||||||
|
9200
|
||||||
];
|
];
|
||||||
allowedUDPPorts = config.${namespace}.network.firewall.allowedTCPPorts;
|
allowedUDPPorts = config.${namespace}.network.firewall.allowedTCPPorts;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user