mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
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:
parent
f7e484ed7e
commit
0e95b81999
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user