mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
boot.kernelParams: dedup and sort
dedup and sort boot.kernelParams to avoid restarting services on eval order change Fixes https://github.com/NixOS/nixpkgs/issues/28277
This commit is contained in:
parent
d8b02ef359
commit
9e00c643d8
@ -57,6 +57,7 @@ in
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
description = "Parameters added to the kernel command line.";
|
||||
apply = list: attrNames (genAttrs list (_: true)); # dedup and sort to avoid restarting services on eval order change
|
||||
};
|
||||
|
||||
boot.consoleLogLevel = mkOption {
|
||||
|
Loading…
Reference in New Issue
Block a user