diff options
Diffstat (limited to 'config/networking/default.nix')
| -rw-r--r-- | config/networking/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/networking/default.nix b/config/networking/default.nix index b6632f3..bcaf989 100644 --- a/config/networking/default.nix +++ b/config/networking/default.nix @@ -36,6 +36,7 @@ in { subnets = { public = "192.168.1"; private = "192.168.2"; + iot = "192.168.3"; }; }; @@ -64,6 +65,13 @@ in { prefixLength = 24; }]; }; + "${cfg.interfaces.wlp2ghz}" = { + useDHCP = false; + ipv4.addresses = [{ + address = "${cfg.subnets.iot}.1"; + prefixLength = 24; + }]; + }; }; }; }; |
