Compare commits

...

2 Commits

Author SHA1 Message Date
a5886eb6d0 server: services: nextcloud: rework for new structure 2024-06-08 14:48:57 +02:00
ca8c0c8a17 services: hydra: add allowed uris 2024-06-08 14:47:20 +02:00
2 changed files with 12 additions and 8 deletions

View File

@@ -66,9 +66,12 @@
}; };
nix = { nix = {
settings.trusted-users = [ settings = {
"hydra" trusted-users = [
]; "hydra"
];
allowed-uris = "http:// https://";
};
extraOptions = '' extraOptions = ''
secret-key-files = ${config.age.secrets."keys/nixsign".path} secret-key-files = ${config.age.secrets."keys/nixsign".path}

View File

@@ -9,15 +9,18 @@
enable = true; enable = true;
hostName = "cloud.kabtop.de"; hostName = "cloud.kabtop.de";
https = true; https = true;
package = pkgs.nextcloud27; package = pkgs.nextcloud29;
database.createLocally = false; database.createLocally = false;
logType = "file"; notify_push.enable = true;
caching = { caching = {
redis = true; redis = true;
apcu = false; apcu = false;
}; };
extraOptions = { settings = {
log_type = "file";
logfile = "nextcloud.log"; logfile = "nextcloud.log";
overwriteprotocol = "https";
default_phone_region = "DE";
redis = { redis = {
host = "/run/redis-nextcloud/redis.sock"; host = "/run/redis-nextcloud/redis.sock";
port = 0; port = 0;
@@ -34,8 +37,6 @@
adminuser = "kabbone"; adminuser = "kabbone";
adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path; adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path;
dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path; dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path;
overwriteProtocol = "https";
defaultPhoneRegion = "DE";
}; };
phpOptions = { phpOptions = {
"opcache.interned_strings_buffer" = "16"; "opcache.interned_strings_buffer" = "16";