diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-14 17:20:21 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-14 17:20:21 +0200 |
| commit | 0e24c6583a159d1e7626cffec25e30f0656f09b8 (patch) | |
| tree | e27805d8e54bd325da7016288efa7fb7c3c5dfec /roles/nvidia_gt750m/tasks/install-archlinux.yml | |
| parent | 3be508bac52338a5fb95c8582b0b4470bd7a494f (diff) | |
Remove the gt750m role after multiple attempts of fixing it
Since this role has never worked properly, this state with updating the
resolution and keeping the nouveau driver working with acceptable
performance on external monitors
Diffstat (limited to 'roles/nvidia_gt750m/tasks/install-archlinux.yml')
| -rw-r--r-- | roles/nvidia_gt750m/tasks/install-archlinux.yml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/roles/nvidia_gt750m/tasks/install-archlinux.yml b/roles/nvidia_gt750m/tasks/install-archlinux.yml deleted file mode 100644 index 69f29229..00000000 --- a/roles/nvidia_gt750m/tasks/install-archlinux.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -- name: "Install NVIDIA driver from AUR" - become: true - become_user: "aur_builder" - kewlfft.aur.aur: - name: "{{ nvidia_gt750m_aur_packages }}" - state: "present" - use: "yay" - -- name: "Configure NVIDIA DRM kernel mode setting" - become: true - ansible.builtin.template: - src: "nvidia.conf.j2" - dest: "/etc/modprobe.d/nvidia.conf" - mode: "0644" - notify: - - "Rebuild initramfs" - tags: - - "molecule-notest" - -- name: "Get current mkinitcpio MODULES" - become: true - ansible.builtin.shell: | - set -euo pipefail - grep '^MODULES=' /etc/mkinitcpio.conf | sed 's/MODULES=(\(.*\))/\1/' - # noqa var-naming[no-role-prefix] as it describes the current kernel modules and not the nvidia modules - register: "current_kernel_modules" - changed_when: false - args: - executable: /bin/bash - tags: - - "molecule-notest" - -- name: "Add NVIDIA modules to mkinitcpio" - become: true - vars: - existing_modules: "{{ current_kernel_modules.stdout.split() | reject('in', nvidia_gt750m_modules) | list }}" - all_modules: "{{ existing_modules + nvidia_gt750m_modules }}" - ansible.builtin.lineinfile: - path: "/etc/mkinitcpio.conf" - regexp: "^MODULES=\\(.*\\)" - line: "MODULES=({{ all_modules | join(' ') }})" - notify: - - "Rebuild initramfs" - tags: - - "molecule-notest" |
