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
524
networking.bonds = mkOption {
525
default = { };
526
-
example = {
527
bond0 = {
528
interfaces = [ "eth0" "wlan0" ];
529
miimon = 100;
···
598
networking.macvlans = mkOption {
599
type = types.attrsOf types.optionSet;
600
default = { };
601
-
example = {
602
wan = {
603
interface = "enp2s0";
604
mode = "vepa";
···
629
networking.sits = mkOption {
630
type = types.attrsOf types.optionSet;
631
default = { };
632
-
example = {
633
hurricane = {
634
remote = "10.0.0.1";
635
local = "10.0.0.22";
···
688
689
networking.vlans = mkOption {
690
default = { };
691
-
example = {
692
vlan0 = {
693
id = 3;
694
interface = "enp3s0";
···
727
728
networking.wlanInterfaces = mkOption {
729
default = { };
730
-
example = {
731
"wlan-station0" = {
732
device = "wlp6s0";
733
};
···
523
524
networking.bonds = mkOption {
525
default = { };
526
+
example = literalExample {
527
bond0 = {
528
interfaces = [ "eth0" "wlan0" ];
529
miimon = 100;
···
598
networking.macvlans = mkOption {
599
type = types.attrsOf types.optionSet;
600
default = { };
601
+
example = literalExample {
602
wan = {
603
interface = "enp2s0";
604
mode = "vepa";
···
629
networking.sits = mkOption {
630
type = types.attrsOf types.optionSet;
631
default = { };
632
+
example = literalExample {
633
hurricane = {
634
remote = "10.0.0.1";
635
local = "10.0.0.22";
···
688
689
networking.vlans = mkOption {
690
default = { };
691
+
example = literalExample {
692
vlan0 = {
693
id = 3;
694
interface = "enp3s0";
···
727
728
networking.wlanInterfaces = mkOption {
729
default = { };
730
+
example = literalExample {
731
"wlan-station0" = {
732
device = "wlp6s0";
733
};