diff options
Diffstat (limited to 'modules/kobo')
| -rw-r--r-- | modules/kobo/default.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/kobo/default.nix b/modules/kobo/default.nix index 48bca11..ec0c469 100644 --- a/modules/kobo/default.nix +++ b/modules/kobo/default.nix @@ -65,23 +65,37 @@ in { default = {}; description = "https://wiki.mobileread.com/wiki/Kobo_Configuration_Options"; }; + + analytics = mkOption { + type = ini.type; + default = {}; + }; }; config = mkMerge [ { kobo = { conf = { - FeatureSettings.ExcludeSyncFolders = ''(\.(?!kobo|adobe).+|([^.][^/]*/)+\..+)''; ApplicationPreferences = { + CurrentLocale = "en"; SideloadedMode = true; QuickTourShown = true; }; + FeatureSettings = { + ExcludeSyncFolders = ''(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)''; + }; + DialogSettings = { + ReleaseNotesShown = true; + }; }; file = { "Kobo eReader.conf" = mkIf (cfg.conf != {}) { text = generators.toINI {} cfg.conf; }; + "Analytics.conf" = mkIf (cfg.analytics != {}) { + text = generators.toINI {} cfg.analytics; + }; }; }; } |
