Merge pull request #28392 from volth/patch-53

boot.kernelParams: dedup and sort
This commit is contained in:
Jörg Thalheim 2017-08-26 14:14:14 +01:00 committed by GitHub
commit 66b42344f3

View File

@ -57,6 +57,7 @@ in
type = types.listOf types.str; type = types.listOf types.str;
default = [ ]; default = [ ];
description = "Parameters added to the kernel command line."; 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 { boot.consoleLogLevel = mkOption {