diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-04-03 15:41:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 15:41:53 +0200 |
commit | eb0148e90b3e35730dab3c668bf93e4cb5d8e633 (patch) | |
tree | 9000274ea9fa87d1bb725c78ac54d36de1315fbf /nixos/modules/services/network-filesystems/samba.nix | |
parent | aa600362ad9e1f290e0d464505795455f30b76a4 (diff) | |
parent | 1d0fc9729dd8564dc75b5fd020da6bd61e0346c0 (diff) | |
download | nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.gz nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.bz2 nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.lz nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.xz nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.zst nixpkgs-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.zip |
Merge pull request #84074 from Infinisil/fix-literal-option-examples
nixos/treewide: Fix incorrectly rendered examples
Diffstat (limited to 'nixos/modules/services/network-filesystems/samba.nix')
-rw-r--r-- | nixos/modules/services/network-filesystems/samba.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index a3c22ce6948..a115590ccaa 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -189,7 +189,7 @@ in See <command>man smb.conf</command> for options. ''; type = types.attrsOf (types.attrsOf types.unspecified); - example = + example = literalExample '' { public = { path = "/srv/public"; "read only" = true; @@ -197,7 +197,8 @@ in "guest ok" = "yes"; comment = "Public samba share."; }; - }; + } + ''; }; }; |