summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-11-07 20:15:19 -0500
committerBen Sima <ben@bsima.me>2022-11-07 20:18:22 -0500
commit69bbe8c4c6252baa74931e6ad28f788654776691 (patch)
tree7b9e259133449786bab16e81b79e6ebf5cf34a47 /machines
parent0e55fb101a9a6ec5d796c99278e90ca28dbf1647 (diff)
Trying to fix font sizing problems
Diffstat (limited to 'machines')
-rw-r--r--machines/helium.nix9
1 files changed, 9 insertions, 0 deletions
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;