Skip to content

Commit

Permalink
hosts/laptop: use the xanmod kernel
Browse files Browse the repository at this point in the history
Originally I used to use the latest standard kernel, however after 6.11 it would consistently fail large Nix evals. I could not determine the root cause but I did notice that my zram powered swap wouldn't fill up entirely, and yet oom-killer would fire.

So why the switch? I'm honestly interested in the performance patches, and I made sure to check that my system can still evaluate. Thankfully, it does! Regenerating a `nix-index` database used to fail with the latest kernel, but with the latest xanmod it does not. This is a good sign and as a result im merging in.
  • Loading branch information
Frontear committed Dec 3, 2024
1 parent d5a8326 commit 48a1533
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hosts/laptop/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
pkgs,
...
}:
{
Expand All @@ -16,6 +17,9 @@
hosts.providers.stevenblack.enable = true;
};

# Use the latest xanmod kernel, mainly for the Clear Linux patches
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;

# Enable a desktop environment
my.desktops.sway.enable = true;

Expand Down

0 comments on commit 48a1533

Please sign in to comment.