Bjørn Forsman 1010271c63 nixos/pam: clean up generated files (no functional change) (#18580)
The generated files in /etc/pam.d/ typically have a lot of empty lines
in them, due to how the generated Nix strings are joined together;
optional elements that are excluded still produce a newline. This patch
changes how the files are generated to create more compact,
human-friendly output files.

The change is basically this, repeated:

-  ''
-    ${optionalString use_ldap
-        "account sufficient ${pam_ldap}/lib/security/pam_ldap.so"}
-  ''
+  optionalString use_ldap ''
+    account sufficient ${pam_ldap}/lib/security/pam_ldap.so
+  ''
2016-09-14 11:56:07 +01:00
..
2015-07-15 12:40:06 +02:00
2016-08-31 23:15:41 +03:00
2016-02-27 22:25:39 +13:00
2016-02-25 13:52:45 +00:00
2015-09-18 18:48:50 +00:00
2015-01-06 17:27:07 +03:00
2014-04-21 23:22:10 +02:00