tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
networking module: Add some missing `literalExample`
Franz Pletz
9 years ago
e16851b9
7e92ae90
+5
-5
1 changed file
expand all
collapse all
unified
split
nixos
modules
tasks
network-interfaces.nix
+5
-5
nixos/modules/tasks/network-interfaces.nix
···
523
523
524
524
networking.bonds = mkOption {
525
525
default = { };
526
526
-
example = {
526
526
+
example = literalExample {
527
527
bond0 = {
528
528
interfaces = [ "eth0" "wlan0" ];
529
529
miimon = 100;
···
598
598
networking.macvlans = mkOption {
599
599
type = types.attrsOf types.optionSet;
600
600
default = { };
601
601
-
example = {
601
601
+
example = literalExample {
602
602
wan = {
603
603
interface = "enp2s0";
604
604
mode = "vepa";
···
629
629
networking.sits = mkOption {
630
630
type = types.attrsOf types.optionSet;
631
631
default = { };
632
632
-
example = {
632
632
+
example = literalExample {
633
633
hurricane = {
634
634
remote = "10.0.0.1";
635
635
local = "10.0.0.22";
···
688
688
689
689
networking.vlans = mkOption {
690
690
default = { };
691
691
-
example = {
691
691
+
example = literalExample {
692
692
vlan0 = {
693
693
id = 3;
694
694
interface = "enp3s0";
···
727
727
728
728
networking.wlanInterfaces = mkOption {
729
729
default = { };
730
730
-
example = {
730
730
+
example = literalExample {
731
731
"wlan-station0" = {
732
732
device = "wlp6s0";
733
733
};