diff --git a/modules/desktop.nix b/modules/desktop.nix index c4add3ba..1572a12d 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -9,6 +9,10 @@ let inherit (pkgs) phinger-cursors noto-fonts-cjk-sans maple-mono noto-fonts-emoji; inherit (builtins) attrValues; + legacyHyprland = pkgs.hyprland.override { + legacyRenderer = true; + }; + cfg = config.modules.desktop; in { @@ -99,7 +103,7 @@ in }; initial_session = { - command = "${pkgs.hyprland}/bin/Hyprland"; + command = "${if phone then legacyHyprland else pkgs.hyprland}/bin/Hyprland"; user = username; }; };