tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/vpnc: fix formatting of example
Leroy Hopson
10 years ago
3e326eff
a8b44c74
+10
-10
1 changed file
expand all
collapse all
unified
split
nixos
modules
config
vpnc.nix
+10
-10
nixos/modules/config/vpnc.nix
···
17
17
services = mkOption {
18
18
type = types.attrsOf types.str;
19
19
default = {};
20
20
-
example = {
21
21
-
test =
22
22
-
''
23
23
-
IPSec gateway 192.168.1.1
24
24
-
IPSec ID someID
25
25
-
IPSec secret secretKey
26
26
-
Xauth username name
27
27
-
Xauth password pass
28
28
-
'';
29
29
-
};
20
20
+
example = literalExample ''
21
21
+
{ test = '''
22
22
+
IPSec gateway 192.168.1.1
23
23
+
IPSec ID someID
24
24
+
IPSec secret secretKey
25
25
+
Xauth username name
26
26
+
Xauth password pass
27
27
+
''';
28
28
+
}
29
29
+
'';
30
30
description =
31
31
''
32
32
The names of cisco VPNs and their associated definitions