mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:43:56 -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 {
|
config = lib.mkIf config.alyraffauf.apps.vsCodium.enable {
|
||||||
alyraffauf.apps.alacritty.enable = lib.mkDefault true;
|
alyraffauf.apps.alacritty.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# Necessary fonts.
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
(nerdfonts.override {fonts = ["Noto"];})
|
|
||||||
alejandra
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
|
@ -24,7 +18,7 @@
|
||||||
enableExtensionUpdateCheck = false;
|
enableExtensionUpdateCheck = false;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"diffEditor.ignoreTrimWhitespace" = false;
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
"editor.fontFamily" = "'NotoSansM Nerd Font', 'monospace', monospace";
|
"editor.fontFamily" = "'${config.alyraffauf.desktop.theme.terminalFont.name}', 'monospace', monospace";
|
||||||
"explorer.confirmDelete" = false;
|
"explorer.confirmDelete" = false;
|
||||||
"files.autoSave" = "afterDelay";
|
"files.autoSave" = "afterDelay";
|
||||||
"git.autofetch" = true;
|
"git.autofetch" = true;
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
alyraffauf.desktop.theme.terminalFont = {
|
alyraffauf.desktop.theme.terminalFont = {
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
description = "Font name.";
|
description = "Font name.";
|
||||||
default = "NotoSansMNerdFont-Regular";
|
default = "NotoSansMNerdFont";
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
};
|
};
|
||||||
size = lib.mkOption {
|
size = lib.mkOption {
|
||||||
|
|
Loading…
Reference in a new issue