update laptop screen post
This commit is contained in:
parent
d6791340df
commit
b90f263cf1
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,18 @@ Lastly, I created the `notify` hook to update the Grub configuration:
|
|||
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
|
||||
|
||||
It turned out to be quite easy to change Linux kernel parameters using Ansible.
|
||||
|
|
Reference in a new issue