20 lines
401 B
Nix
20 lines
401 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
lib.mkIf config.programs.vscode.enable {
|
|
programs.vscode = {
|
|
package = pkgs.vscodium;
|
|
enableUpdateCheck = false;
|
|
extensions = with pkgs.vscode-extensions; [
|
|
rust-lang.rust-analyzer
|
|
];
|
|
userSettings = {
|
|
"editor.formatOnSave" = true;
|
|
"update.mode" = "none";
|
|
"idf.espIdfPath" = "/home/ny/esp/v5.2.2/esp-idf";
|
|
};
|
|
};
|
|
}
|