diff --git a/jekyll/_posts/ansible-edit-kernel-params/2023-06-19-ansible-edit-grub.md b/jekyll/_posts/ansible-edit-kernel-params/2023-06-19-ansible-edit-grub.md index 1ae0e2b..3320889 100644 --- a/jekyll/_posts/ansible-edit-kernel-params/2023-06-19-ansible-edit-grub.md +++ b/jekyll/_posts/ansible-edit-kernel-params/2023-06-19-ansible-edit-grub.md @@ -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.