mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
This commit is contained in:
parent
99586839c8
commit
4fad38afdb
13 changed files with 115 additions and 51 deletions
|
|
@ -35,6 +35,7 @@
|
|||
(mkConnection "moonside" "wan")
|
||||
(mkConnection "pfsense" "wan")
|
||||
(mkConnection "milkywell" "wan")
|
||||
(mkConnection "magicant" "wifi")
|
||||
(mkConnection "toto" "bootstrapper")
|
||||
(mkConnection "chaostheatre" "demo host")
|
||||
];
|
||||
|
|
@ -93,6 +94,10 @@
|
|||
};
|
||||
|
||||
winters.interfaces."eth1" = { };
|
||||
bakery.interfaces = {
|
||||
"eth1" = { };
|
||||
"wifi" = { };
|
||||
};
|
||||
|
||||
wifi-ap = mkSwitch "Wi-Fi AP" {
|
||||
info = "Huawei";
|
||||
|
|
@ -103,6 +108,9 @@
|
|||
"wifi"
|
||||
]
|
||||
];
|
||||
connections = {
|
||||
wifi = mkConnection "bakery" "wifi";
|
||||
};
|
||||
};
|
||||
|
||||
switch-livingroom = mkSwitch "Switch Livingroom" {
|
||||
|
|
@ -133,6 +141,19 @@
|
|||
interfaces.eth1 = { };
|
||||
};
|
||||
|
||||
magicant = mkDevice "magicant" {
|
||||
icon = "${self}/files/topology-images/phone.png";
|
||||
info = "Samsung Z Flip 6";
|
||||
image = "${self}/files/topology-images/zflip6.png";
|
||||
interfaces.wifi = { };
|
||||
};
|
||||
|
||||
machpizza = mkDevice "machpizza" {
|
||||
info = "MacBook Pro 2016";
|
||||
icon = "${self}/files/topology-images/mac.png";
|
||||
interfaces."eth1" = { };
|
||||
};
|
||||
|
||||
pc = mkDevice "Windows Gaming Server" {
|
||||
info = "i7-4790k, GTX970, 32GB RAM";
|
||||
image = "${self}/files/topology-images/pc.png";
|
||||
|
|
@ -154,6 +175,7 @@
|
|||
]
|
||||
];
|
||||
connections.eth2 = mkConnection "printer" "eth1";
|
||||
connections.eth3 = mkConnection "machpizza" "eth1";
|
||||
};
|
||||
|
||||
printer = mkDevice "Printer" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue