[solved] Is it possible to enable specific xanmod kernel variant?

Hi *,

the option boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; allows you to set a xanmod kernel. In https://github.com/NixOS/nixpkgs/blob/ef103337fd168b23ed8910e41576a67118b5f92a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix there are two kernel variants vor the xanmod kernel defined (edgeVariant and stableVariant).

How can one enable a specific variant? I have grep’ed github, but did not find any helpful hints/results.

I am running 22.05 stable using flakes at the moment.

Thanks in advance,

They seem to be defined here for stable and here for edge.

I have seen this too, but how do I set xanmod stable or xanmod edge? Does this also work somehow with boot.kernelPackages ?

Ahhh, okay…never mind, now I see that edge is latest and stable is the non latest variant, I think this solves my question.

Hosted by Flying Circus.