mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 15:51:54 -05:00
vscodium: move to theme module for font declaration
This commit is contained in:
parent
cc10649a87
commit
7d12d5d180
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue