desktop: Add hyprland support to phone with legacyRenderer

Time will tell whether or not Hyprland will be preferred over phosh.
This commit is contained in:
Donovan Glover 2024-06-19 19:53:31 -04:00
parent f7e484ed7e
commit 0e95b81999
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

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