From 16aa3fcc2adfa92e40e0a8189213e4545af1132c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 29 Mar 2024 07:31:00 -0400 Subject: [PATCH] vscode -> vscodium --- homeManagerModules/guiApps/default.nix | 4 ++-- .../guiApps/{vsCode => vsCodium}/default.nix | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) rename homeManagerModules/guiApps/{vsCode => vsCodium}/default.nix (80%) diff --git a/homeManagerModules/guiApps/default.nix b/homeManagerModules/guiApps/default.nix index 365a7ee6..9420511d 100644 --- a/homeManagerModules/guiApps/default.nix +++ b/homeManagerModules/guiApps/default.nix @@ -8,11 +8,11 @@ ./fuzzel ./librewolf ./mako - ./vsCode + ./vsCodium ./waybar ]; guiApps.firefox.enable = lib.mkDefault true; guiApps.alacritty.enable = lib.mkDefault true; - guiApps.vsCode.enable = lib.mkDefault true; + guiApps.vsCodium.enable = lib.mkDefault true; } diff --git a/homeManagerModules/guiApps/vsCode/default.nix b/homeManagerModules/guiApps/vsCodium/default.nix similarity index 80% rename from homeManagerModules/guiApps/vsCode/default.nix rename to homeManagerModules/guiApps/vsCodium/default.nix index 7f653163..5467aade 100644 --- a/homeManagerModules/guiApps/vsCode/default.nix +++ b/homeManagerModules/guiApps/vsCodium/default.nix @@ -1,13 +1,13 @@ { 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. - home.packages = with pkgs; [ - pkgs.nerdfonts.override { fonts = [ "Noto" ]; }; - ]; + home.packages = with pkgs; [ (nerdfonts.override { fonts = [ "Noto" ]; }) ]; programs.vscode = { enable = true; @@ -24,8 +24,7 @@ "window.zoomPerWindow" = false; "explorer.confirmDelete" = false; "workbench.iconTheme" = "catppuccin-macchiato"; - "editor.fontFamily" = - "'NotoSansM Nerd Font', 'monospace', monospace"; + "editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace"; "window.menuBarVisibility" = "hidden"; "diffEditor.ignoreTrimWhitespace" = false; };