summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-09-12 07:59:15 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-09-12 08:03:14 +0200
commitfc02a0265ab0d094d7269b27bd16b630cad9c08a (patch)
tree24a85605904b07b29d5533b2a60b88d753a0de42 /nixos/modules/services/network-filesystems
parent2509b629d77511ff5256f920663d541ebc43ea72 (diff)
downloadnixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar.gz
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar.bz2
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar.lz
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar.xz
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.tar.zst
nixlib-fc02a0265ab0d094d7269b27bd16b630cad9c08a.zip
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.)
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/samba.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix
index b3b4d0c915ac..9b9c91a4f167 100644
--- a/nixos/modules/services/network-filesystems/samba.nix
+++ b/nixos/modules/services/network-filesystems/samba.nix
@@ -28,7 +28,7 @@ let
   configFile = pkgs.writeText "smb.conf"
     (if cfg.configText != null then cfg.configText else
     ''
-      [ global ]
+      [global]
       security = ${cfg.securityType}
       passwd program = /run/wrappers/bin/passwd %u
       pam password change = ${smbToString cfg.syncPasswordsByPam}