mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-02-04 03:20:32 +00:00
31 lines
675 B
Nix
31 lines
675 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
mergetools = import ../lib/mergetools.nix {inherit pkgs lib config;};
|
|
mkMergedJson = mergetools.mkMergedJson;
|
|
cherryStudioConfig = mkMergedJson {
|
|
name = "cherry-studio-config";
|
|
target = ".config/cherry-studio/config.json";
|
|
settings = {
|
|
enableDeveloperMode = true;
|
|
enableDataCollection = false;
|
|
autoUpdate = false;
|
|
language = "zh-CN";
|
|
theme = "system";
|
|
tray = true;
|
|
enableQuickAssistant = true;
|
|
clickTrayToShowQuickAssistant = true;
|
|
launchToTray = false;
|
|
};
|
|
};
|
|
in {
|
|
home.packages = [
|
|
pkgs.cherry-studio
|
|
];
|
|
imports = [
|
|
cherryStudioConfig
|
|
];
|
|
}
|