phone: Remove legacy hyprland

Unfortunately there are too many bugs for Hyprland on the PinePhone such
as hardware accelerated videos appearing red and convergence in general
being much slower than the phosh counterpart.
This commit is contained in:
Donovan Glover 2024-06-25 10:53:21 -04:00
parent ce5093aa34
commit 40090d7ef1
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -9,10 +9,6 @@ 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
{
@ -45,7 +41,7 @@ in
hardware.graphics.enable32Bit = mkIf (!phone) true;
programs = {
hyprland.enable = mkIf (!container) true;
hyprland.enable = mkIf (!container && !phone) true;
cdemu.enable = mkIf (!phone) true;
thunar = {
@ -111,7 +107,7 @@ in
};
initial_session = {
command = "${if phone then legacyHyprland else pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.hyprland}/bin/Hyprland";
user = username;
};
};