3 ms·
What's most amazing is how easy it is to switch kernels on NixOS as this article touched on. This prompted me to switch to Cachy kernels, and after some caching
by arikrahman 4mo ago
What's most amazing is how easy it is to switch kernels on NixOS as this article touched on. This prompted me to switch to Cachy kernels, and after some caching delay (apparently need to switch once before caches set) I was able to take advantage of a completely different OS's core strength. Truly the one OS to rule them all.
- bilkow 4mo agoSorry, I am a bit confused about the caching delay, which seems to suggest you can switch kernels without rebooting? That's not what the wiki suggests[0], and what even happens to running programs? Or do you mean just changing the "default" boot to a different kernel, which in other distros would require changing the boot loader config? [0] https://nixos.wiki/wiki/Linux_kernel https://nixos.wiki/wiki/Linux_kernel
- traverseda 4mo agoIf memory serves the cachyos-nix flakes sets a cache for pre-built kernels, but that cache isn't available until you rebuild. So if you want to use the cache you need to do two steps, add cachyos to your inputs, rebuild, switch the kernel, rebuild. Then reboot to use the new kernel.
- arikrahman 4mo agoCorrect, I should've worded that better for more clarity.
- cwel 4mo agoThe article does not mention switching kernels. It comments on the size of the kernel + modules; and trimming down unused modules. Of all the things to get nixpilled over, this isn't one.