refactor: remove multi-kernel support, clarify maintnenance

This commit is contained in:
steveej 2024-10-14 15:02:22 +02:00
parent f691c12548
commit 06c0bc1b3f
3 changed files with 6 additions and 55 deletions

View file

@ -10,9 +10,6 @@ let
cfg = config.nixos-x13s;
linuxPackages_x13s =
if cfg.kernel == "mainline" then
pkgs.linuxPackages_latest
else
pkgs.linuxPackagesFor (
if cfg.kernel == "jhovold" then x13sPackages.linux_jhovold else throw "Unsupported kernel"
);
@ -46,9 +43,8 @@ in
kernel = lib.mkOption {
type = lib.types.enum [
"jhovold"
"mainline"
];
description = "Which patched kernel to use. jhovold is the latest RC or release with some x13s specific patches, and mainline is nixos latest";
description = "Which patched kernel to use. jhovold is the latest RC or release with some x13s specific patches.";
default = "jhovold";
};
};