nixcfg/homeManagerModules/apps/vsCodium/default.nix

62 lines
2.1 KiB
Nix
Raw Normal View History

{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.apps.vsCodium.enable {
2024-03-29 07:21:25 -04:00
programs.vscode = {
enable = true;
package = pkgs.vscodium;
2024-03-29 07:21:25 -04:00
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
2024-03-29 07:21:25 -04:00
userSettings = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "'NotoSansM Nerd Font','${config.ar.home.theme.terminalFont.name}', 'monospace', monospace";
"editor.fontSize" = lib.mkDefault 14;
2024-06-28 21:07:39 -04:00
"editor.rulers" = [80];
"explorer.confirmDelete" = false;
"files.autoSave" = "afterDelay";
2024-03-29 07:21:25 -04:00
"git.autofetch" = true;
"git.confirmSync" = false;
"nix.formatterPath" = lib.getExe pkgs.alejandra;
"terminal.external.linuxExec" = lib.getExe config.ar.home.defaultApps.terminal;
2024-06-28 21:07:39 -04:00
"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";
2024-03-29 07:21:25 -04:00
"window.zoomPerWindow" = false;
"workbench.colorTheme" =
if config.ar.home.theme.colors.preferDark
then "Catppuccin Frappé"
else "Catppuccin Latte";
"workbench.iconTheme" =
if config.ar.home.theme.colors.preferDark
then "catppuccin-frappe"
else "catppuccin-latte";
"workbench.preferredDarkColorTheme" = "Catppuccin Frappé";
"workbench.preferredLightColorTheme" = "Catppuccin Latte";
2024-03-29 07:21:25 -04:00
};
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
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
rubymaniac.vscode-paste-and-indent
rust-lang.rust-analyzer
tomoki1207.pdf
2024-03-29 07:21:25 -04:00
];
};
};
}