summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-05-29 14:25:13 +0200
committerGitHub <noreply@github.com>2026-05-29 14:25:13 +0200
commit3ec8369455ebacfb49286b842b57e3ca3e4bafc5 (patch)
treea07b8669e5110bd75687d83aa9d67ad0d308859f /nixos
parent2fd2080d45068952fa86754d66d88152871c834e (diff)
Add loginShellInit to start Hyprland on tty1
Diffstat (limited to 'nixos')
-rw-r--r--nixos/cat.nix5
1 files changed, 5 insertions, 0 deletions
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 = {