Nix: disable HiDPI for default package

NOTE: the package `hyprland-no-hidpi` was removed, and instead
`hyprland-hidpi` exists now.
This commit is contained in:
Mihai Fufezan 2023-03-22 17:21:17 +02:00 committed by Mihai Fufezan
parent 5be42965ff
commit cf51a31807
4 changed files with 5 additions and 4 deletions

View File

@ -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 {};

View File

@ -25,7 +25,7 @@
xwayland,
debug ? false,
enableXWayland ? true,
hidpiXWayland ? true,
hidpiXWayland ? false,
legacyRenderer ? false,
nvidiaPatches ? false,
withSystemd ? true,

View File

@ -67,7 +67,7 @@ in {
};
hidpi = lib.mkOption {
type = lib.types.bool;
default = true;
default = false;
description = ''
Enable HiDPI XWayland.
'';

View File

@ -47,7 +47,7 @@ in {
};
hidpi = mkOption {
type = types.bool;
default = true;
default = false;
description = ''
Enable HiDPI XWayland.
'';