summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-08-26 14:14:14 +0100
committerGitHub <noreply@github.com>2017-08-26 14:14:14 +0100
commit66b42344f31b5c6a9cd58caa358d944eb1cf5f58 (patch)
tree287d9635e4f613fe37f0500b219cc1dcd207f9b4 /nixos/modules
parent142db91b81e535c467aefab946b5b5670f108f33 (diff)
parent9e00c643d823b9c7483c13cc338c6a3322102a9c (diff)
downloadnixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar.gz
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar.bz2
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar.lz
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar.xz
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.tar.zst
nixlib-66b42344f31b5c6a9cd58caa358d944eb1cf5f58.zip
Merge pull request #28392 from volth/patch-53
boot.kernelParams: dedup and sort
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/kernel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index cf70a891c0ca..cc68be781fc4 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 {