Add majorVersion option to 6.6.x

This commit is contained in:
Astrid Yu authored and mergify[bot] committed 2024-01-05 08:54:55 +00:00
1 parent 7fd5585e07
commit 50944cf036
1 file changed
+1 -1
@@ -28,7 +28,7 @@ let
in { in {
options.microsoft-surface.kernelVersion = mkOption { options.microsoft-surface.kernelVersion = mkOption {
type = types.enum [ version ]; type = types.enum [ version majorVersion ];
}; };
config = mkIf (cfg.kernelVersion == version || cfg.kernelVersion == majorVersion) { config = mkIf (cfg.kernelVersion == version || cfg.kernelVersion == majorVersion) {