summary refs log tree commit diff
path: root/nixos/modules/services/networking/wpa_supplicant.nix
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2016-02-29 01:47:12 +0100
committerThomas Strobel <ts468@cam.ac.uk>2016-02-29 01:47:12 +0100
commit2d6696fc0a23976498d0033d03382880e24e953d (patch)
tree8f95c3de3846a4082f5ab39674cfd1c110312e86 /nixos/modules/services/networking/wpa_supplicant.nix
parentcad8957eabcbf73062226d28366fd446c15c8737 (diff)
downloadnixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.gz
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.bz2
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.lz
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.xz
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.zst
nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.zip
nixos-modules: Fixes related to "literalExample" and "defaultText".
Diffstat (limited to 'nixos/modules/services/networking/wpa_supplicant.nix')
-rw-r--r--nixos/modules/services/networking/wpa_supplicant.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix
index 88345fdc11e..a8f445a2c73 100644
--- a/nixos/modules/services/networking/wpa_supplicant.nix
+++ b/nixos/modules/services/networking/wpa_supplicant.nix
@@ -78,10 +78,11 @@ in {
         '';
         default = {};
         example = literalExample ''
-          echelon = {
-            psk = "abcdefgh";
-          };
-          "free.wifi" = {};
+          { echelon = {
+              psk = "abcdefgh";
+            };
+            "free.wifi" = {};
+          }
         '';
       };