topology
This commit is contained in:
parent
5048fb3e79
commit
f101eb6b2e
6 changed files with 53 additions and 8 deletions
|
|
@ -6,6 +6,7 @@
|
|||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./topology-config.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
|
|
|
|||
14
hosts/Parzival/topology-config.nix
Normal file
14
hosts/Parzival/topology-config.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: let
|
||||
inherit (config.lib.topology) mkInternet mkRouter mkConnection;
|
||||
in {
|
||||
topology.self = {
|
||||
hardware.info = "Primary Desktop";
|
||||
interfaces = {
|
||||
wlan0 = {
|
||||
addresses = ["192.168.141.1"];
|
||||
network = "home";
|
||||
physicalConnections = [(mkConnection "router" "wlan0")];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./topology-config.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
|
|
|
|||
14
hosts/WCE-Overseer/topology-config.nix
Normal file
14
hosts/WCE-Overseer/topology-config.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: let
|
||||
inherit (config.lib.topology) mkInternet mkRouter mkConnection;
|
||||
in {
|
||||
topology.self = {
|
||||
hardware.info = "ThinkCentre M710q";
|
||||
interfaces = {
|
||||
eth0 = {
|
||||
addresses = ["192.168.0.30"];
|
||||
network = "home";
|
||||
physicalConnections = [(mkConnection "router" "eth3")];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue