mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-02-04 11:30:33 +00:00
add cherry-studio
This commit is contained in:
parent
dcca538c18
commit
8ec80c984b
1 changed files with 31 additions and 0 deletions
31
nixcfgs/users/js0ny/programs/cherry-studio.nix
Normal file
31
nixcfgs/users/js0ny/programs/cherry-studio.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue