Skip to content

Commit

Permalink
phone: Remove legacy hyprland
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donovanglover committed Jun 25, 2024
1 parent ce5093a commit 40090d7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions modules/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -111,7 +107,7 @@ in
};

initial_session = {
command = "${if phone then legacyHyprland else pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.hyprland}/bin/Hyprland";
user = username;
};
};
Expand Down

0 comments on commit 40090d7

Please sign in to comment.