nix-da/home/graphical/vscode/default.nix
nydragon f4dd2fb01a
Some checks failed
/ test (push) Failing after 3m12s
chore: new tailscale system tray, fix warnings
2025-03-15 19:15:46 +01:00

31 lines
626 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf;
cfg = config.programs.vscode;
in
{
config = mkIf cfg.enable {
programs.vscode = {
package = pkgs.vscode;
default = {
enableUpdateCheck = false;
extensions = with pkgs.vscode-extensions; [
rust-lang.rust-analyzer
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
tamasfe.even-better-toml
];
userSettings = {
editor.formatOnSave = true;
terminal.integrated.inheritEnv = false;
git.autofetch = true;
};
};
};
};
}