From d67d3b5b6a1d176dc055cd7b654f3266933ac830 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 12 Mar 2013 05:51:45 -0400 Subject: [PATCH] extraModprobeConfig: set type to types.lines This makes it so multiple definitions are merged by adding a newline between each entry, to avoid the need to add a newline to the end of every definition of extraModprobeConfig. See #119 for an example of an issue this has caused. Signed-off-by: Shea Levy --- modules/system/boot/modprobe.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/boot/modprobe.nix b/modules/system/boot/modprobe.nix index 7babb70eccb..62ac3009d10 100644 --- a/modules/system/boot/modprobe.nix +++ b/modules/system/boot/modprobe.nix @@ -57,6 +57,7 @@ with pkgs.lib; modprobe.conf 5 for details. ''; + type = types.lines; }; };