Skip to content

Commit

Permalink
Properly install fonts in NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
stolyaroleh committed Apr 29, 2019
1 parent 7e6a3f8 commit 322007f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion kitty/kitty.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -34,4 +42,3 @@ color18 #303030
color19 #353535
color20 #b2ccd6
color21 #eeffff

8 changes: 7 additions & 1 deletion nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -119,5 +125,5 @@
};

system.autoUpgrade.enable = true;
system.stateVersion = "18.09";
system.stateVersion = "19.03";
}

0 comments on commit 322007f

Please sign in to comment.