modules/nextcloud: add option for defaultapp
This commit is contained in:
parent
750b069420
commit
34eb8651d8
1 changed files with 9 additions and 0 deletions
|
@ -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}',"}
|
||||
|
|
Loading…
Reference in a new issue