1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules
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
..
config
hardware displaylink service: init 2016-09-13 00:30:35 +03:00
i18n/input-method
installer
misc Merge pull request #18298 from teh/prometheus-service 2016-09-11 23:18:36 +02:00
profiles
programs
security nixos/pam: clean up generated files (no functional change) (#18580) 2016-09-14 11:56:07 +01:00
services networking.dhcpcd: Don't add to system closure when using networkd (#18436) 2016-09-13 07:55:17 +02:00
system treewide: fix fallout of ip-up deprecation 2016-09-11 08:13:04 +02:00
tasks nixos: fix typo in networking.interfaces.<name?>.virtual (#18548) 2016-09-13 08:04:00 +02:00
testing
virtualisation Merge pull request #18567 (VirtualBox 5.1.6) 2016-09-14 02:20:16 +02:00
module-list.nix Merge branch 'displaylink' 2016-09-13 01:59:47 +03:00
rename.nix nixos/modules/rename: Remove docker-registry 2016-09-11 16:51:20 +02:00