diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index c4ec12f..b8bd5a5 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -285,6 +285,14 @@ in { phone-numbers. ''; }; + defaultapp = mkOption { + default = null; + type = types.nullOr types.str; + example = "files"; + description = '' + This options sets the app that opens as default. + ''; + }; }; caching = { @@ -477,6 +485,7 @@ in { ${optionalString cfg.caching.apcu "'memcache.local' => '\\OC\\Memcache\\APCu',"} 'log_type' => 'syslog', 'log_level' => '${builtins.toString cfg.logLevel}', + ${optionalString (c.defaultapp != null) "'defaultapp' => '${c.defaultapp}',"} ${optionalString (c.overwriteProtocol != null) "'overwriteprotocol' => '${c.overwriteProtocol}',"} ${optionalString (c.dbname != null) "'dbname' => '${c.dbname}',"} ${optionalString (c.dbhost != null) "'dbhost' => '${c.dbhost}',"}