forked from anduril/jetpack-nixos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds a nixos option for changing the default boot order. Possible values were obtained from https://github.com/NVIDIA/edk2-nvidia/blob/71fc2f6de48f3e9f01214b4e9464dd03620b876b/Silicon/NVIDIA/Library/PlatformBootOrderLib/PlatformBootOrderLib.c#L26.
- Loading branch information
1 parent
70579a8
commit 790019e
Showing
2 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
overlay-name = "UEFI Boot order"; | ||
|
||
fragment@0 { | ||
target-path = "/"; | ||
board_config { | ||
sw-modules = "uefi"; | ||
}; | ||
|
||
__overlay__ { | ||
firmware { | ||
uefi { | ||
variables { | ||
gNVIDIATokenSpaceGuid { | ||
DefaultBootPriority { | ||
data = "@bootOrder@"; | ||
locked; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |