mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
tuigreet: Autologin to hyprland only when hyprland is enabled
This commit is contained in:
parent
81f27ce059
commit
939030d505
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue