mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-03 16:29:43 +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 {
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue