From bc979d66037719be5a05d1f1a2874067940338d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Mon, 15 Jul 2019 22:01:34 +0100 Subject: [PATCH] Better hidpi settings yet --- nixos/common.nix | 2 ++ nixos/home.nix | 1 - nixos/user-xsession.nix | 5 +---- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/common.nix b/nixos/common.nix index b25f376b..1501dfe1 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -105,6 +105,8 @@ in }; powerManagement.cpuFreqGovernor = (lib.mkForce null); + hardware.nvidiaOptimus.disable = true; + services.physlock = { enable = true; allowAnyUser = true; diff --git a/nixos/home.nix b/nixos/home.nix index ce2e67d1..1d4bdc35 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -27,7 +27,6 @@ in ]; home.sessionVariables = { TERMINAL="alacritty"; - QT_AUTO_SCREEN_SCALE_FACTOR="1"; }; imports = [ diff --git a/nixos/user-xsession.nix b/nixos/user-xsession.nix index e265a9cd..d514893c 100644 --- a/nixos/user-xsession.nix +++ b/nixos/user-xsession.nix @@ -62,9 +62,6 @@ in programs.autorandr = { enable = true; - hooks.postswitch = { - "notify-i3" = "''${pkgs.i3}/bin/i3-msg restart"; - }; profiles = { "foureighty-alone" = { @@ -76,7 +73,7 @@ in enable = true; primary = true; mode = "2560x1440"; - dpi = 192; + dpi = 144; }; }; };