nixosMod/frontend: enable kernel specialisation

- to provide a fallback 5.15 kernel
main
Felix Stupp 2 months ago
parent 2eec0a2cb5
commit c6caa08602
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -431,6 +431,26 @@ in
}; };
specialisation =
let
kernelSpecial = pkg: { configuration.boot.kernelPackages = pkg; };
mapAttrs = builtins.mapAttrs (name: kernelSpecial);
in
mapAttrs {
# TODO enable all kernels with faster build machine
# TODO experiment with gaming kernels
# gaming/performance kernels
#linux_lqx = pkgs.linuxPackages_lqx;
#linux_xanmod_latest = pkgs.linuxPackages_xanmod_latest;
#linux_xanmod_stable = pkgs.linuxPackages_xanmod_stable;
#linux_zen = pkgs.linuxPackages_zen;
# older kernels (for cases like again: https://github.com/NixOS/nixpkgs/issues/330685)
# list of supported kernels taken from https://www.kernel.org/releases.html
#linux_6_6 = pkgs.linuxPackages_6_6;
linux_6_1 = pkgs.linuxPackages_6_1;
#linux_5_15 = pkgs.linuxPackages_5_15;
};
users = { users = {
users."${cfg.username}" = { users."${cfg.username}" = {

Loading…
Cancel
Save