From 322007ffdea7b2af78e547cdee73dfd900baab22 Mon Sep 17 00:00:00 2001 From: Oleh Stolyar Date: Mon, 29 Apr 2019 10:30:12 +0100 Subject: [PATCH] Properly install fonts in NixOS --- kitty/kitty.conf | 9 ++++++++- nixos/configuration.nix | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/kitty/kitty.conf b/kitty/kitty.conf index b673680..263e396 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1,3 +1,11 @@ +font_family Source Code Pro Semibold +bold_font Source Code Pro Bold +italic_font Source Code Pro Semibold Italic +bold_italic_font Source Code Pro Bold Italic + +scrollback_lines 100000 +wheel_scroll_multiplier 10.0 + # Base16 Material Darker - kitty color config # Nate Peterson background #212121 @@ -34,4 +42,3 @@ color18 #303030 color19 #353535 color20 #b2ccd6 color21 #eeffff - diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 796b94e..95e4b70 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -45,6 +45,12 @@ timeZone = "Europe/London"; }; + fonts.fonts = with pkgs; [ + fira-code + hasklig + source-code-pro + ]; + environment.systemPackages = import ./packages.nix; users.users.oleh = { @@ -119,5 +125,5 @@ }; system.autoUpgrade.enable = true; - system.stateVersion = "18.09"; + system.stateVersion = "19.03"; }