Add majorVersion option to 6.6.x
This commit is contained in:
parent
7fd5585e07
commit
50944cf036
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue