diff options
author | Mihai Fufezan <[email protected]> | 2023-03-22 17:21:17 +0200 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2023-03-22 19:10:46 +0200 |
commit | cf51a318078c82040eaeab29664bc34144ee1d62 (patch) | |
tree | 9b6159b753903ce41ad0a1d0cc5f4d51f22a34f7 | |
parent | 5be42965ff9df71dcfb41e25663405c3e817ba17 (diff) | |
download | Hyprland-cf51a318078c82040eaeab29664bc34144ee1d62.tar.gz Hyprland-cf51a318078c82040eaeab29664bc34144ee1d62.zip |
Nix: disable HiDPI for default package
NOTE: the package `hyprland-no-hidpi` was removed, and instead
`hyprland-hidpi` exists now.
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | nix/default.nix | 2 | ||||
-rw-r--r-- | nix/hm-module.nix | 2 | ||||
-rw-r--r-- | nix/module.nix | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -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. ''; |