From 69bbe8c4c6252baa74931e6ad28f788654776691 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 7 Nov 2022 20:15:19 -0500 Subject: Trying to fix font sizing problems --- machines/helium.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'machines') diff --git a/machines/helium.nix b/machines/helium.nix index f60b0c8..8b6a42c 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -7,6 +7,8 @@ let in { imports = [ ./users.nix ]; + console.font = "${pkgs.fira-mono}/share/fonts/opentype/FiraMono-Regular.otf"; + security.sudo.wheelNeedsPassword = true; security.pam.yubico.enable = true; security.pam.yubico.debug = false; @@ -46,6 +48,11 @@ in { fira fira-code fira-code-symbols ]; + environment.variables = { + GDK_SCALE = "2"; + GDK_DPI_SCALE = "0.5"; + }; + environment.systemPackages = with pkgs; [ yubioath-desktop yubico-pam @@ -60,6 +67,7 @@ in { }; }; + hardware.video.hidpi.enable = true; hardware.enableAllFirmware = true; hardware.bluetooth.enable = true; hardware.bluetooth.package = pkgs.bluezFull; @@ -104,6 +112,7 @@ in { xserver.layout = "us"; xserver.libinput.enable = true; xserver.xkbOptions = "caps:ctrl_modifier"; + xserver.dpi = 331; xserver.displayManager.sddm.enable = true; xserver.windowManager.xmonad.enable = true; -- cgit v1.2.3