update laptop screen post

This commit is contained in:
Pim Kunis 2023-09-09 17:32:00 +02:00
parent d6791340df
commit b90f263cf1

View file

@ -66,6 +66,18 @@ Lastly, I created the `notify` hook to update the Grub configuration:
cmd: update-grub cmd: update-grub
``` ```
# Update: Just use Nix
Lately, I have been learning a bit of NixOS with the intention of replacing my current setup.
Compared to Ansible, applying this fix is a breeze on NixOS:
```nix
{
boot.kernelParams = [ "i915.enable_psr=0" ];
}
```
That's it, yep.
# Conclusion # Conclusion
It turned out to be quite easy to change Linux kernel parameters using Ansible. It turned out to be quite easy to change Linux kernel parameters using Ansible.