7dc1a22e6b
Ever since enabling adaptive brightness manager, my brightness is far lower on reboot. I suspect it is saving the actual brightness instead of the set brightness. This works around the issue by forcing the brightness back to my desired level.
21 lines
676 B
YAML
21 lines
676 B
YAML
# This will prevent pools from being imported, but since my laptop has a single pool with a single disk which is mounted during boot, disabling this service saves me 10 seconds at boot. Reference: https://github.com/openzfs/zfs/issues/10891
|
|
- name: Disable services
|
|
systemd:
|
|
enabled: no
|
|
masked: true
|
|
name: "{{ item }}"
|
|
daemon_reload: yes
|
|
loop:
|
|
- systemd-udev-settle.service
|
|
|
|
- name: Install tmpfiles.d configuration
|
|
when: hwpstate is defined and hwpstate and cores is defined
|
|
copy:
|
|
src: "files/{{ item }}_tmpfiles.conf"
|
|
dest: "/etc/tmpfiles.d/{{ item }}.conf"
|
|
mode: 0644
|
|
owner: root
|
|
group: wheel
|
|
loop:
|
|
- screen_brightness
|