From 939030d505ee7f0467fa48b69f6c543f6da66269 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 21 Oct 2025 20:03:32 +0200 Subject: [PATCH] tuigreet: Autologin to hyprland only when hyprland is enabled --- modules/system/dm/tuigreet.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/dm/tuigreet.nix b/modules/system/dm/tuigreet.nix index 2ccfaad..d1d74cd 100644 --- a/modules/system/dm/tuigreet.nix +++ b/modules/system/dm/tuigreet.nix @@ -33,7 +33,7 @@ in "--remember-user-session" "--sessions '${sessionData}/share/wayland-sessions:${sessionData}/share/xsessions'" ]; - initial_session = lib.mkIf cfg.autoLogin { + initial_session = lib.mkIf (cfg.autoLogin && config.custom.de.hyprland.enable) { command = lib.getExe pkgs.hyprland; user = "seb"; };