mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-25 06:02:01 +01:00
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:
parent
ce5093aa34
commit
40090d7ef1
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user