mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
configured home network
This commit is contained in:
parent
427e0319f7
commit
0d7dbc7d82
1 changed files with 18 additions and 1 deletions
|
@ -47,7 +47,24 @@
|
|||
RouteMetric = 10;
|
||||
};
|
||||
};
|
||||
networks."10-wireless" = {
|
||||
networks."10-wireless-home" = {
|
||||
matchConfig = {
|
||||
Name = "wlp9s0";
|
||||
SSID = "Smoerrebroed";
|
||||
};
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IgnoreCarrierLoss = "3s";
|
||||
};
|
||||
dhcpV4Config = {
|
||||
RouteMetric = 20;
|
||||
};
|
||||
routes = [
|
||||
# Route to the Model train network via raspi
|
||||
{ routeConfig = { Gateway = "192.168.178.63"; Destination = "192.168.179.0/24"; }; }
|
||||
];
|
||||
};
|
||||
networks."15-wireless-default" = {
|
||||
matchConfig.Name = "wlp9s0";
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
|
|
Loading…
Add table
Reference in a new issue