From e0cb068a4bbad0beda3b5c8c8a25aa37df631d40 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 9 Apr 2023 01:18:48 +0200 Subject: slylandro: Remove hidpi specific settings for now This reverts commit c88fd9eaa12c8a3c06502b09c2056d3c91421952. The hardware.video.hidpi.enable option was removed a while ago[1] because it's not clear what a single boolean option should mean, so it doesn't make sense anymore to make any of our options depend on it. Forthermore, I'm experimenting with different Wayland compositors at the moment and most of the stuff that I did here is for Xorg. I expect most of the stuff to be gone when I'm settled with a Wayland setup that works for me. [1]: https://github.com/NixOS/nixpkgs/pull/222689 Signed-off-by: aszlig --- modules/user/aszlig/profiles/workstation/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/user/aszlig/profiles/workstation') diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index c6b86413..bb4785d6 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -3,8 +3,6 @@ let cfg = config.vuizvui.user.aszlig.profiles.workstation; inherit (config.services.xserver) xrandrHeads; - hidpi = config.hardware.video.hidpi.enable; - faceSize = if hidpi then 10 else 12; in { options.vuizvui.user.aszlig.profiles.workstation = { enable = lib.mkEnableOption "Workstation profile for aszlig"; @@ -37,7 +35,6 @@ in { (pkgs.vuizvui.aszlig.psi.override { jid = "aszlig@aszlig.net"; resource = config.networking.hostName; - inherit faceSize; }) ] ++ import ./packages.nix pkgs; @@ -49,7 +46,6 @@ in { # The default theme hurts my eyes. environment.variables.GTK_THEME = "Adwaita:dark"; - environment.variables.QT_AUTO_SCREEN_SCALE_FACTOR = lib.mkIf hidpi "1"; vuizvui.lazyPackages = import ./lazy-packages.nix pkgs; @@ -190,7 +186,7 @@ in { XTerm*termName: xterm-direct XTerm*directColor: true XTerm*faceName: MxPlus IBM VGA 8x16 - XTerm*faceSize: ${toString faceSize} + XTerm*faceSize: 12 XTerm*renderFont: true XTerm*saveLines: 10000 XTerm*bellIsUrgent: true -- cgit 1.4.1