This commit is contained in:
TheWanderingCrow 2025-03-21 13:21:13 +00:00
parent 5048fb3e79
commit f101eb6b2e
6 changed files with 53 additions and 8 deletions

View file

@ -6,6 +6,7 @@
}: {
imports = [
./hardware-configuration.nix
./topology-config.nix
../../modules
];

View 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")];
};
};
};
}

View file

@ -6,6 +6,7 @@
}: {
imports = [
./hardware-configuration.nix
./topology-config.nix
../../modules
];

View 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")];
};
};
};
}