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
services = mkOption {
18
type = types.attrsOf types.str;
19
default = {};
20
-
example = {
21
-
test =
22
-
''
23
-
IPSec gateway 192.168.1.1
24
-
IPSec ID someID
25
-
IPSec secret secretKey
26
-
Xauth username name
27
-
Xauth password pass
28
-
'';
29
-
};
30
description =
31
''
32
The names of cisco VPNs and their associated definitions
···
17
services = mkOption {
18
type = types.attrsOf types.str;
19
default = {};
20
+
example = literalExample ''
21
+
{ test = '''
22
+
IPSec gateway 192.168.1.1
23
+
IPSec ID someID
24
+
IPSec secret secretKey
25
+
Xauth username name
26
+
Xauth password pass
27
+
''';
28
+
}
29
+
'';
30
description =
31
''
32
The names of cisco VPNs and their associated definitions