diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-06-26 22:01:08 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-06-26 22:23:29 +0200 |
| commit | c7b7efb30112ce492569f8ddea591f14a5040f57 (patch) | |
| tree | 65032e1a3dbebc1b3b351515f419e7c7cfc27879 /config/networking/default.nix | |
| parent | ffa8760638e20eee785f7ed4df9e2d56c18ffe53 (diff) | |
networking: detach enp3s0 from wan
Diffstat (limited to 'config/networking/default.nix')
| -rw-r--r-- | config/networking/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/networking/default.nix b/config/networking/default.nix index 3d8c464..a3486be 100644 --- a/config/networking/default.nix +++ b/config/networking/default.nix @@ -77,6 +77,13 @@ in { sonos-play1.address = "192.168.3.29"; }; }; + eth0 = let device = "enp3s0"; + in { + inherit device; + interface = device; + subnet = "192.168.4"; + machines = { self.address = "192.168.4.1"; }; + }; }; }; |
