nixcfg/homeManagerModules/apps/vsCodium/default.nix
Aly Raffauf 76e6626187
home/theme: remove abstractions and simplify options
* removed gtk and icon theme option abstractions

* home/theme: remove cursorTheme options

* rustboro/home: migrate cursor theme overrides

* home/theme: use config.gtk.font instead of options.nix abstractions

* home/them: dark mode/light mode check for icons

* home/theme: remove terminalFont options

* home: move home.themes.colors.darkMode to home.themes.darkMode

* home/them: improve gnome font settings

* waybar: stay dark even when in light mode
2024-07-03 10:35:39 -04:00

58 lines
1.9 KiB
Nix

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.apps.vsCodium.enable {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
userSettings = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace";
"editor.fontSize" = lib.mkDefault 14;
"editor.rulers" = [80];
"explorer.confirmDelete" = false;
"files.autoSave" = "afterDelay";
"git.autofetch" = true;
"git.confirmSync" = false;
"nix.formatterPath" = lib.getExe pkgs.alejandra;
"terminal.external.linuxExec" = lib.getExe config.ar.home.defaultApps.terminal;
"terminal.integrated.fontSize" = lib.mkDefault 14;
"update.mode" = "none";
"window.menuBarVisibility" = "hidden";
"window.titleBarStyle" =
if config.ar.home.desktop.gnome.enable || config.ar.home.desktop.cinnamon.enable
then "custom"
else "native";
"window.zoomPerWindow" = false;
"workbench.colorTheme" =
if config.ar.home.theme.darkMode
then "Adwaita Dark"
else "Adwaita Light";
"workbench.iconTheme" = "null";
"workbench.preferredDarkColorTheme" = "Adwaita Dark";
"workbench.preferredLightColorTheme" = "Adwaita Light";
};
extensions = with pkgs.vscode-extensions; [
coolbear.systemd-unit-file
github.vscode-github-actions
github.vscode-pull-request-github
jnoortheen.nix-ide
justusadam.language-haskell
ms-python.python
ms-vscode.cpptools-extension-pack
oderwat.indent-rainbow
piousdeer.adwaita-theme
rubymaniac.vscode-paste-and-indent
rust-lang.rust-analyzer
tomoki1207.pdf
];
};
};
}