From 86ecc40a8158348b16d7e704638e220c1b804335 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 13 Jun 2026 22:59:45 -0400 Subject: use fira code nerf font --- linux-common.nix | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'linux-common.nix') diff --git a/linux-common.nix b/linux-common.nix index 27e4464..5148a96 100644 --- a/linux-common.nix +++ b/linux-common.nix @@ -3,8 +3,7 @@ pkgs, inputs, ... -}: -{ +}: { imports = [ ./sh.nix ]; @@ -12,7 +11,7 @@ # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.supportedFilesystems = [ "exfat" ]; + boot.supportedFilesystems = ["exfat"]; # Use latest kernel. boot.kernelPackages = pkgs.linuxPackages_latest; @@ -45,6 +44,26 @@ gcc ]; + fonts = { + fontDir.enable = true; + fontconfig = { + enable = true; + defaultFonts = { + monospace = ["Fira Code Nerd Font"]; + sansSerif = ["Fira Sans"]; + }; + hinting = { + autohint = false; + enable = true; + style = "slight"; + }; + }; + packages = with pkgs; [ + fira-code + nerd-fonts.fira-code + ]; + }; + programs.git = { enable = true; config = { -- cgit v1.3.1