summaryrefslogtreecommitdiffstats
path: root/linux-common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'linux-common.nix')
-rw-r--r--linux-common.nix25
1 files changed, 22 insertions, 3 deletions
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 = {