From 0173e6025f9e7d468750a208ef1362499f77a1f7 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Tue, 7 Jun 2016 19:05:53 -0700 Subject: [PATCH] Add fonts --- dotfiles/Xresources | 6 +++--- nix/configuration.nix | 4 ++-- nix/display/default.nix | 15 +++++++++++++-- nix/games/default.nix | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/dotfiles/Xresources b/dotfiles/Xresources index 6436cb5..945d7f5 100644 --- a/dotfiles/Xresources +++ b/dotfiles/Xresources @@ -126,7 +126,7 @@ URxvt.tabbed.title: no ! URxvt.keysym.Control-Down: \033[1;5B ! URxvt.keysym.Control-Left: \033[1;5D ! URxvt.keysym.Control-Right: \033[1;5C - + ! URxvt.keysym.C-S-0: Xft.dpi: 96 @@ -135,10 +135,10 @@ Xft.hinting: 1 Xft.hintstyle: hintslight Xft.rgba: rgb xterm*faceName: Inconsolata -xterm*faceSize: 7 7 7 7 7 7 7 +xterm*faceSize: 10 10 10 10 10 10 10 !URxvt*font: xft:Liberation Mono-8 !URxvt*boldFont: xft:Liberation Mono:bold -URxvt*font: xft:Inconsolata:size=8:antialias=true:hinting=true +URxvt*font: xft:Inconsolata:size=10:antialias=true:hinting=true URxvt*boldFont: xft:Inconsolata:bold URxvt.letterSpace: -1 diff --git a/nix/configuration.nix b/nix/configuration.nix index 488c544..0d47e84 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -32,9 +32,9 @@ networking.hostName = "ares"; # Define your hostname. networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - + i18n = { - consoleFont = "inconsolata"; + consoleFont = "lat9w-16"; consoleKeyMap = "us"; defaultLocale = "en_US.UTF-8"; }; diff --git a/nix/display/default.nix b/nix/display/default.nix index b12d2ab..da4e833 100644 --- a/nix/display/default.nix +++ b/nix/display/default.nix @@ -17,10 +17,21 @@ xorg.xbacklight # Backlight manager ]; - # services.xserver.videoDriver = + # services.xserver.videoDriver = + + fonts = { + enableFontDir = true; + enableGhostscriptFonts = true; + fonts = with pkgs; [ + corefonts # Microsoft free fonts + inconsolata # Great monospaced font + ubuntu_font_family # Another great font family + unifont # International language support + ]; + }; services = { - udisks2.enable = true; + udisks2.enable = true; xserver = { enableTCP = false; diff --git a/nix/games/default.nix b/nix/games/default.nix index 2ef0f2d..458b3cf 100644 --- a/nix/games/default.nix +++ b/nix/games/default.nix @@ -3,6 +3,6 @@ environment.systemPackages = with pkgs; [ nethack steam - tibia + # tibia ]; }