From 3ec8369455ebacfb49286b842b57e3ca3e4bafc5 Mon Sep 17 00:00:00 2001 From: caley Date: Fri, 29 May 2026 14:25:13 +0200 Subject: Add loginShellInit to start Hyprland on tty1 --- nixos/cat.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/cat.nix') diff --git a/nixos/cat.nix b/nixos/cat.nix index deb8bcc..bcd36d0 100644 --- a/nixos/cat.nix +++ b/nixos/cat.nix @@ -35,6 +35,11 @@ cat ~/.cache/wal/sequences end ''; + loginShellInit = '' + if test -z "$DISPLAY" -a (tty) = "/dev/tty1" + exec start-hyprland + end + ''; }; programs.kitty = { -- cgit v1.3.1