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
wip/yesman
volth 7 years ago committed by GitHub
parent d8b02ef359
commit 9e00c643d8
  1. 1
      nixos/modules/system/boot/kernel.nix

@ -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…
Cancel
Save