diff options
author | lassulus <lassulus@lassul.us> | 2017-10-09 13:02:14 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-10-09 13:02:14 +0200 |
commit | a3f45e80aeffe7223631793dcb48f9cabfe7215a (patch) | |
tree | 534702ef35dac3f910efa6890a9e0d0f07eb3b8e /lass/2configs/baseX.nix | |
parent | 31d6903c8cc4bacbb0ee6408eb8305544fa42117 (diff) |
l: use hack fonts everywhere
Diffstat (limited to 'lass/2configs/baseX.nix')
-rw-r--r-- | lass/2configs/baseX.nix | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix index f6390ce4d..9d4ad8c6a 100644 --- a/lass/2configs/baseX.nix +++ b/lass/2configs/baseX.nix @@ -28,9 +28,19 @@ in { ''; } { #font magic - options.lass.myFont = mkOption { - type = types.str; - default = "-schumacher-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1"; + options.lass.fonts = { + regular = mkOption { + type = types.str; + default = "xft:Hack-Regular:pixelsize=11,xft:Symbola"; + }; + bold = mkOption { + type = types.str; + default = "xft:Hack-Bold:pixelsize=11,xft:Symbola"; + }; + italic = mkOption { + type = types.str; + default = "xft:Hack-RegularOblique:pixelsize=11,xft:Symbol"; + }; }; } ]; @@ -82,8 +92,11 @@ in { termite ]; - fonts.fonts = [ - pkgs.xlibs.fontschumachermisc + fonts.fonts = with pkgs; [ + hack-font + hasklig + symbola + xlibs.fontschumachermisc ]; services.xserver = { |