nixos/samba: remove space in "[ global ]" heading
Use consistent no-space style. (All documentation I've seen use no space, and the generated section headings from the NixOS module also use no space.)
This commit is contained in:
parent
2509b629d7
commit
fc02a0265a
@ -28,7 +28,7 @@ let
|
|||||||
configFile = pkgs.writeText "smb.conf"
|
configFile = pkgs.writeText "smb.conf"
|
||||||
(if cfg.configText != null then cfg.configText else
|
(if cfg.configText != null then cfg.configText else
|
||||||
''
|
''
|
||||||
[ global ]
|
[global]
|
||||||
security = ${cfg.securityType}
|
security = ${cfg.securityType}
|
||||||
passwd program = /run/wrappers/bin/passwd %u
|
passwd program = /run/wrappers/bin/passwd %u
|
||||||
pam password change = ${smbToString cfg.syncPasswordsByPam}
|
pam password change = ${smbToString cfg.syncPasswordsByPam}
|
||||||
|
Loading…
Reference in New Issue
Block a user