Compare commits
2 Commits
57842ad278
...
2ebc124992
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ebc124992 | |||
| 04158fbd1c |
@ -27,11 +27,6 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rose-pine-hyprcursor
|
rose-pine-hyprcursor
|
||||||
nitch
|
nitch
|
||||||
nixgl.auto.nixGLDefault
|
|
||||||
nixgl.nixGLIntel
|
|
||||||
nixgl.nixGLNvidia
|
|
||||||
nixgl.nixVulkanNvidia
|
|
||||||
nixgl.nixVulkanIntel
|
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
# # "Hello, world!" when run.
|
# # "Hello, world!" when run.
|
||||||
# pkgs.hello
|
# pkgs.hello
|
||||||
@ -232,6 +227,11 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $DISPLAY ]] && [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) == /dev/tty1 ]]; then
|
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
|
exec nixGL Hyprland
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user