diff --git a/configuration.nix b/configuration.nix index 488acb5..4fb2e7a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -128,14 +128,23 @@ }; # Fonts - fonts.packages = with pkgs; [ - ibm-plex - liberation_ttf - nerd-fonts.blex-mono - noto-fonts - noto-fonts-cjk-sans - noto-fonts-emoji - ]; + fonts = { + packages = with pkgs; [ + ibm-plex + liberation_ttf + nerd-fonts.blex-mono + noto-fonts + noto-fonts-cjk-sans + noto-fonts-emoji + ]; + fontconfig = { + defaultFonts = { + serif = ["IBM Plex Serif"]; + sansSerif = ["IBM Plex Sans"]; + monospace = ["BlexMono Nerd Font"]; + }; + }; + }; # Enable CUPS to print documents. services.printing.enable = true; @@ -199,9 +208,9 @@ defaultEditor = true; configure = { customRC = '' - set autoindent - set number relativenumber - set tabstop=4 + set autoindent + set number relativenumber + set tabstop=4 colorscheme catppuccin-mocha ''; packages.myVimPackage = with pkgs.vimPlugins; {