diff options
author | aszlig <aszlig@nix.build> | 2023-04-09 01:18:48 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2023-04-09 01:26:02 +0200 |
commit | e0cb068a4bbad0beda3b5c8c8a25aa37df631d40 (patch) | |
tree | 07cb31e2ed50fb04c79c5f2e79dda4097606db62 /modules/user/aszlig/profiles/workstation | |
parent | 7cef6a096dd42440952f8e5edb6c5813dec28766 (diff) |
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 <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig/profiles/workstation')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
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 |