mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
boot.kernelPackages: check for conflicts
It's currently possible to set conflicting `boot.kernelPackages` several times which can prove confusing. This is an attempt to warn for this.
This commit is contained in:
parent
63fa75e34c
commit
2da1ad60a8
3 changed files with 6 additions and 6 deletions
|
@ -36,6 +36,7 @@ in
|
|||
|
||||
boot.kernelPackages = mkOption {
|
||||
default = pkgs.linuxPackages;
|
||||
type = types.unspecified // { merge = mergeEqualOption; };
|
||||
apply = kernelPackages: kernelPackages.extend (self: super: {
|
||||
kernel = super.kernel.override {
|
||||
inherit randstructSeed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue