vscode -> vscodium

This commit is contained in:
Aly Raffauf 2024-03-29 07:31:00 -04:00
parent 822e795165
commit 16aa3fcc2a
2 changed files with 8 additions and 9 deletions

View file

@ -8,11 +8,11 @@
./fuzzel ./fuzzel
./librewolf ./librewolf
./mako ./mako
./vsCode ./vsCodium
./waybar ./waybar
]; ];
guiApps.firefox.enable = lib.mkDefault true; guiApps.firefox.enable = lib.mkDefault true;
guiApps.alacritty.enable = lib.mkDefault true; guiApps.alacritty.enable = lib.mkDefault true;
guiApps.vsCode.enable = lib.mkDefault true; guiApps.vsCodium.enable = lib.mkDefault true;
} }

View file

@ -1,13 +1,13 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }: {
options = { guiApps.vsCode.enable = lib.mkEnableOption "Enables VSCodium."; }; options = {
guiApps.vsCodium.enable = lib.mkEnableOption "Enables VSCodium.";
};
config = lib.mkIf config.guiApps.vsCode.enable { config = lib.mkIf config.guiApps.vsCodium.enable {
# Necessary fonts. # Necessary fonts.
home.packages = with pkgs; [ home.packages = with pkgs; [ (nerdfonts.override { fonts = [ "Noto" ]; }) ];
pkgs.nerdfonts.override { fonts = [ "Noto" ]; };
];
programs.vscode = { programs.vscode = {
enable = true; enable = true;
@ -24,8 +24,7 @@
"window.zoomPerWindow" = false; "window.zoomPerWindow" = false;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
"workbench.iconTheme" = "catppuccin-macchiato"; "workbench.iconTheme" = "catppuccin-macchiato";
"editor.fontFamily" = "editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace";
"'NotoSansM Nerd Font', 'monospace', monospace";
"window.menuBarVisibility" = "hidden"; "window.menuBarVisibility" = "hidden";
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
}; };