diff options
| author | caley <u65487754@gmail.com> | 2026-05-29 14:25:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-29 14:25:13 +0200 |
| commit | 3ec8369455ebacfb49286b842b57e3ca3e4bafc5 (patch) | |
| tree | a07b8669e5110bd75687d83aa9d67ad0d308859f | |
| parent | 2fd2080d45068952fa86754d66d88152871c834e (diff) | |
Add loginShellInit to start Hyprland on tty1
| -rw-r--r-- | nixos/cat.nix | 5 |
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 = { |
