mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-14 21:11:12 +01:00
Merge branch 'master' into microsoft/surface/kernel-6.6
This commit is contained in:
commit
6e43a42577
62 changed files with 839 additions and 595 deletions
|
|
@ -27,10 +27,10 @@ let
|
|||
|
||||
in {
|
||||
options.microsoft-surface.kernelVersion = mkOption {
|
||||
type = types.enum [ version ];
|
||||
type = types.enum [ version majorVersion ];
|
||||
};
|
||||
|
||||
config = mkIf (cfg.kernelVersion == version ) {
|
||||
config = mkIf (cfg.kernelVersion == version || cfg.kernelVersion == majorVersion) {
|
||||
boot = {
|
||||
inherit kernelPackages;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue