Allow user to provide a different configuration per host

This commit is contained in:
Oliver Traber 2024-05-27 20:57:26 +02:00
parent 82d5350ded
commit d8113f6228
Signed by: Bluemedia
GPG key ID: C0674B105057136C
10 changed files with 238 additions and 30 deletions

View file

@ -15,7 +15,7 @@ export GPG_TTY=$(tty)
# Autostart Hyprland at login
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
{% if isVm | bool %}
{% if hostvars[ansible_hostname]['virtual_machine'] | bool %}
export WLR_NO_HARDWARE_CURSORS=1
{% endif %}
exec Hyprland