From 2ebc1249921c0e57271d6ce6106bbba9df0e06d6 Mon Sep 17 00:00:00 2001 From: "sascha.koenig" Date: Wed, 12 Nov 2025 07:39:48 +0100 Subject: [PATCH] added nixGL check to .profile --- home/logistik/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/logistik/home.nix b/home/logistik/home.nix index 480d66f..cb69afc 100644 --- a/home/logistik/home.nix +++ b/home/logistik/home.nix @@ -227,6 +227,11 @@ fi if [[ -z $DISPLAY ]] && [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) == /dev/tty1 ]]; then + # Check if nixGL is available, otherwise install it + if ! command -v nixGL &> /dev/null; then + echo "nixGL not found, installing..." + nix profile install github:guibou/nixGL --impure + fi exec nixGL Hyprland fi '';