Commit 269414593458

Vincent Demeester <vincent@sbr.pm>
2024-06-12 15:45:27
users/vincent: automatically start Hyprland…
… on tty1… because… why not 😅 Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 268654b
Changed files (1)
users
vincent
users/vincent/core/zsh.nix
@@ -84,9 +84,9 @@ in
     '';
     loginExtra = ''
       # export GOPATH=${config.home.homeDirectory}
-      # if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
-      #   exec sway
-      # fi
+      if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
+        exec Hyprland
+      fi
     '';
     profileExtra = ''
       if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi