{ config, pkgs, inputs, ... }: { defaultApplications.editor = { cmd = "${config.home-manager.users.balsoft.programs.vscode.package}/bin/codium"; desktop = "codium"; }; home-manager.users.balsoft = { programs.vscode = { enable = true; package = pkgs.vscodium; mutableExtensionsDir = false; extensions = with pkgs.vscode-extensions; [ vscodevim.vim kahole.magit (inputs.direnv-vscode.packages.${pkgs.system}.vsix.overrideAttrs (_: { buildPhase = "yarn run build"; installPhase = "mkdir -p $out/share/vscode/extensions/direnv.direnv-vscode; cp -R * $out/share/vscode/extensions/direnv.direnv-vscode"; })) (pkgs.callPackage ./theme.nix { } config.themes.colors) matklad.rust-analyzer ocamllabs.ocaml-platform redhat.vscode-yaml bbenoist.nix brettm12345.nixfmt-vscode dhall.dhall-lang hashicorp.terraform timonwong.shellcheck ]; userSettings = { "update.mode" = "none"; "[nix]"."editor.tabSize" = 2; "workbench.colorTheme" = "Balsoft's generated theme"; "vim.useCtrlKeys" = false; "terminal.integrated.profiles.linux".bash.path = "/run/current-system/sw/bin/bash"; "terminal.integrated.defaultProfile.linux" = "bash"; "editor.fontFamily" = "IBM Plex Mono"; }; keybindings = [{ key = "ctrl+shift+r"; command = "workbench.action.tasks.runTask"; when = "textInputFocus"; }]; }; }; }