diff --git a/homeManagerModules/apps/vsCodium/default.nix b/homeManagerModules/apps/vsCodium/default.nix index 6929170e..0745afdd 100644 --- a/homeManagerModules/apps/vsCodium/default.nix +++ b/homeManagerModules/apps/vsCodium/default.nix @@ -11,12 +11,6 @@ config = lib.mkIf config.alyraffauf.apps.vsCodium.enable { alyraffauf.apps.alacritty.enable = lib.mkDefault true; - # Necessary fonts. - home.packages = with pkgs; [ - (nerdfonts.override {fonts = ["Noto"];}) - alejandra - ]; - programs.vscode = { enable = true; package = pkgs.vscodium; @@ -24,7 +18,7 @@ enableExtensionUpdateCheck = false; userSettings = { "diffEditor.ignoreTrimWhitespace" = false; - "editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace"; + "editor.fontFamily" = "'${config.alyraffauf.desktop.theme.terminalFont.name}', 'monospace', monospace"; "explorer.confirmDelete" = false; "files.autoSave" = "afterDelay"; "git.autofetch" = true; diff --git a/homeManagerModules/desktop/theme.nix b/homeManagerModules/desktop/theme.nix index f69060fa..64e854ef 100644 --- a/homeManagerModules/desktop/theme.nix +++ b/homeManagerModules/desktop/theme.nix @@ -76,7 +76,7 @@ alyraffauf.desktop.theme.terminalFont = { name = lib.mkOption { description = "Font name."; - default = "NotoSansMNerdFont-Regular"; + default = "NotoSansMNerdFont"; type = lib.types.str; }; size = lib.mkOption {