Skip to content

Commit

Permalink
roles/xserver: fix broken Inconsolata font
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubgs committed Jun 3, 2021
1 parent 8759dff commit 5049eeb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions roles/xserver.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{ pkgs, ... }:

let
# Necessary to fix broken Inconsolata font
# https://github.com/googlefonts/Inconsolata/issues/42
oldPackages = import (pkgs.fetchzip {
url = "https://github.com/NixOS/nixpkgs/archive/47e580e291ff40bbde191e9fed35128727963b0c.zip";
sha256 = "1fnz42w2p6avnz76p8n0dr2lvdgv1v1kipysih61mdakr4lc2fs8";
}) { };
disableAccelProfile = name:
"xinput set-prop 'pointer:${name}' 'Device Accel Profile' -1";
in {
Expand Down Expand Up @@ -41,9 +47,8 @@ in {
};
};
fonts = with pkgs; [
corefonts terminus_font
fira-code inconsolata
dejavu_fonts ubuntu_font_family
terminus_font oldPackages.inconsolata
corefonts fira-code dejavu_fonts ubuntu_font_family
];
};
}

0 comments on commit 5049eeb

Please sign in to comment.