From cf51a318078c82040eaeab29664bc34144ee1d62 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Wed, 22 Mar 2023 17:21:17 +0200 Subject: [PATCH] Nix: disable HiDPI for default package NOTE: the package `hyprland-no-hidpi` was removed, and instead `hyprland-hidpi` exists now. --- flake.nix | 3 ++- nix/default.nix | 2 +- nix/hm-module.nix | 2 +- nix/module.nix | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 561de707..71a6cbf6 100644 --- a/flake.nix +++ b/flake.nix @@ -81,8 +81,9 @@ inherit udis86; }; hyprland-debug = hyprland.override {debug = true;}; - hyprland-no-hidpi = hyprland.override {hidpiXWayland = false;}; + hyprland-hidpi = hyprland.override {hidpiXWayland = true;}; hyprland-nvidia = hyprland.override {nvidiaPatches = true;}; + hyprland-no-hidpi = builtins.trace "hyprland-no-hidpi was removed. Please use the default package." hyprland; udis86 = prev.callPackage ./nix/udis86.nix {}; diff --git a/nix/default.nix b/nix/default.nix index 6bbd832b..a240f803 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -25,7 +25,7 @@ xwayland, debug ? false, enableXWayland ? true, - hidpiXWayland ? true, + hidpiXWayland ? false, legacyRenderer ? false, nvidiaPatches ? false, withSystemd ? true, diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 30cd59b5..9bad3fac 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -67,7 +67,7 @@ in { }; hidpi = lib.mkOption { type = lib.types.bool; - default = true; + default = false; description = '' Enable HiDPI XWayland. ''; diff --git a/nix/module.nix b/nix/module.nix index 21b27513..f96dd9e0 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -47,7 +47,7 @@ in { }; hidpi = mkOption { type = types.bool; - default = true; + default = false; description = '' Enable HiDPI XWayland. '';