stylix/testbed: hyprland: resolve testbed startup warning (#2220)

Resolve the testbed startup warning by starting Hyprland in safe mode,
following upstream commit [1] ("start: init start-hyprland and safe mode
(#12484)").

[1]: 016eb7a23d

Fixes: a525e4774f ("flake: update all inputs (#2117)")
Link: https://github.com/nix-community/stylix/pull/2220

Reviewed-by: 0xda157 <da157@voidq.com>
Reviewed-by: skoove <zie@sturges.com.au>
This commit is contained in:
NAHO 2026-03-18 01:00:48 +01:00 committed by GitHub
parent af924c3d4d
commit 3f2f9d307f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@
config =
lib.mkIf (config.stylix.testbed.ui.graphicalEnvironment or null == "hyprland")
{
environment.loginShellInit = lib.getExe pkgs.hyprland;
environment.loginShellInit = lib.getExe' pkgs.hyprland "start-hyprland";
programs.hyprland.enable = true;
environment.systemPackages = [
# dex looks for `x-terminal-emulator` when running a terminal program