nixcfg/homeManagerModules/apps/vsCodium/default.nix
Aly Raffauf da2cbecbe7
change theme from catppuccin -> adwaita (#8)
* switch default gtk theme and colors to adw-gtk3

* vscodium: move to adwaita

* home/theme: switch qt theme to Adwaita-dark

* wlogout: migrate to adwaita and improve look and feel

* nixpkgs: remove adwaita overrides

* plymouth: remove catppuccin theme

* home/chromium: remove catppuccin theme

* emacs: remove catppuccin

* home/neovim: catppuccin -> ayu

* nixos/base: remove catppuccin console colors

* home/theme: switch to Bibata cursors

* nixos/lightdm: conform to default home theme

* home: remove theme overrides

* qlogout: fix regression with button:focus keeping entries highlighted when unhovered

* format with alejandra

* home/waybar: match colors to adwaita

* home/fuzzel: match selection colors with theme.colors

* mauville: remove overrided vscode theme

* aly: use firefox gnome theme

* rustboro: decrease cursor size override

* nixos/options: remove catppuccin references

* home/theme: fixed regression in theme.gtk.hideTitleBar
2024-07-01 22:59:41 -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','${config.ar.home.theme.terminalFont.name}', '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
then "custom"
else "native";
"window.zoomPerWindow" = false;
"workbench.colorTheme" =
if config.ar.home.theme.colors.preferDark
then "Adwaita Dark"
else "Adwaita";
"workbench.iconTheme" = "null";
"workbench.preferredDarkColorTheme" = "Adwaita Dark";
"workbench.preferredLightColorTheme" = "Adwaita";
};
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
];
};
};
}