mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +01:00
Add majorVersion option to 6.6.x
This commit is contained in:
parent
7fd5585e07
commit
50944cf036
1 changed files with 1 additions and 1 deletions
|
@ -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