1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Add majorVersion option to 6.6.x

This commit is contained in:
Astrid Yu 2024-01-04 09:25:03 -08:00 committed by mergify[bot]
parent 7fd5585e07
commit 50944cf036

View file

@ -28,7 +28,7 @@ let
in {
options.microsoft-surface.kernelVersion = mkOption {
type = types.enum [ version ];
type = types.enum [ version majorVersion ];
};
config = mkIf (cfg.kernelVersion == version || cfg.kernelVersion == majorVersion) {