mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-23 09:51:34 +01:00
28 lines
552 B
Nix
28 lines
552 B
Nix
{
|
|
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
|
|
];
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs-master.vscode.override {
|
|
commandLineArgs = vscodeCliArgs;
|
|
};
|
|
};
|
|
}
|