feat(nixos): add cursor-cli/claude-code/gemini-cli/opencode

This commit is contained in:
Ryan Yin
2026-03-24 12:19:56 +08:00
parent 914239487c
commit f373f5ee5b
4 changed files with 42 additions and 25 deletions

View File

@@ -1,28 +1,19 @@
{
lib,
pkgs,
pkgs-master,
...
}:
let
vscodeCliArgs = [
# https://code.visualstudio.com/docs/configure/settings-sync#_recommended-configure-the-keyring-to-use-with-vs-code
# For use with any package that implements the Secret Service API
# (for example gnome-keyring, kwallet5, KeepassXC)
"--password-store=gnome-libsecret"
];
in
{
home.packages = [
pkgs-master.code-cursor
pkgs-master.cursor-cli
];
programs.vscode = {
enable = true;
package = pkgs-master.vscode.override {
commandLineArgs = vscodeCliArgs;
commandLineArgs = [
# https://code.visualstudio.com/docs/configure/settings-sync#_recommended-configure-the-keyring-to-use-with-vs-code
# For use with any package that implements the Secret Service API
# (for example gnome-keyring, kwallet5, KeepassXC)
"--password-store=gnome-libsecret"
];
};
};
}