From dd8fa2150ff4d4897e9cad7c0f4333ede4e8d225 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 25 Dec 2023 16:56:59 +0800 Subject: [PATCH] nixos: hosts: aristotle: add dpi --- nixos/hosts/Aristotle/hardware-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/Aristotle/hardware-configuration.nix b/nixos/hosts/Aristotle/hardware-configuration.nix index b9291b6..d8ebd8d 100644 --- a/nixos/hosts/Aristotle/hardware-configuration.nix +++ b/nixos/hosts/Aristotle/hardware-configuration.nix @@ -15,6 +15,9 @@ tpm.enable = true; }; + # √(1920² + 1080²) px ÷ 15.60 in ≃ 141.211998082 dpi + services.xserver.dpi = 141; + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"]; boot.kernelModules = ["kvm-intel"]; nixpkgs.hostPlatform = "x86_64-linux";