diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-29 18:21:17 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-29 18:21:17 +0100 |
| commit | cd3d5f0e2f0c80ff784098ee1d2f8386b58bac30 (patch) | |
| tree | 7dbe5705bd6ba86d8440e66bc82d6238524ba996 | |
| parent | 32c738d4ce0336b16eb870419b4ed02af3d6c227 (diff) | |
Fix nvidia gtx role variable names
| -rw-r--r-- | host_vars/archlinux.local.yml.example | 6 | ||||
| -rw-r--r-- | roles/nvidia_gtx1060/tasks/install-archlinux.yml | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/host_vars/archlinux.local.yml.example b/host_vars/archlinux.local.yml.example index 35568fca..1d583686 100644 --- a/host_vars/archlinux.local.yml.example +++ b/host_vars/archlinux.local.yml.example @@ -28,3 +28,9 @@ wireguard_connections: fonts_extra: - "ttf-dejavu" - "noto-fonts" + +hyprland_nvidia: true +hyprland_monitors: | + env = GDK_SCALE,2 + monitor=HDMI-A-1,3840x2160@60,auto-left,1.6 + monitor=DP-1,3840x2160@60,auto-right,1.6 diff --git a/roles/nvidia_gtx1060/tasks/install-archlinux.yml b/roles/nvidia_gtx1060/tasks/install-archlinux.yml index 488dd15d..6d18eea4 100644 --- a/roles/nvidia_gtx1060/tasks/install-archlinux.yml +++ b/roles/nvidia_gtx1060/tasks/install-archlinux.yml @@ -2,14 +2,14 @@ - name: "Install libva NVIDIA driver" become: true ansible.builtin.package: - name: "{{ nvidia_gtx_1060_packages }}" + name: "{{ nvidia_gtx1060_packages }}" state: "present" - name: "Install NVIDIA driver from AUR" become: true become_user: "aur_builder" kewlfft.aur.aur: - name: "{{ nvidia_gtx_1060_aur_packages }}" + name: "{{ nvidia_gtx1060_aur_packages }}" state: "present" use: "yay" @@ -33,8 +33,8 @@ - name: "Add NVIDIA modules to mkinitcpio" become: true vars: - existing_modules: "{{ current_kernel_modules.stdout.split() | reject('in', nvidia_gtx_1060_modules) | list }}" - all_modules: "{{ existing_modules + nvidia_gtx_1060_modules }}" + existing_modules: "{{ current_kernel_modules.stdout.split() | reject('in', nvidia_gtx1060_modules) | list }}" + all_modules: "{{ existing_modules + nvidia_gtx1060_modules }}" ansible.builtin.lineinfile: path: "/etc/mkinitcpio.conf" regexp: "^MODULES=\\(.*\\)" |
