diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index cf70a891c0c..cc68be781fc 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/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 {