diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-24 18:26:22 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-24 18:26:22 +0100 |
| commit | f2e1a2ca6b709269912d004f80ae753ca9b3c926 (patch) | |
| tree | fbf24ecde96ea6eafef0df7c2ff5b8abc6023ce4 | |
| parent | eb6ffa74c2cab5711516b6eb0274d8fb405eaf8e (diff) | |
nixos: networking: hosts: add hephaistos.aristote.mesh
| -rw-r--r-- | nixos/networking.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/nixos/networking.nix b/nixos/networking.nix index acc33cb..f6311e2 100644 --- a/nixos/networking.nix +++ b/nixos/networking.nix @@ -1,4 +1,5 @@ -{...}: { +{ ... }: +{ personal.networking = { enable = true; bluetooth.enable = true; @@ -12,10 +13,13 @@ networking = { hostName = "precision-3571"; hosts = { - "192.168.1.2" = ["kerberos.local"]; - "192.168.2.1" = ["kerberos.local"]; - "192.168.2.2" = ["hephaistos.local"]; - "192.168.4.10" = ["steam-deck.local"]; + "192.168.1.2" = [ "kerberos.local" ]; + "192.168.2.1" = [ "kerberos.local" ]; + "192.168.2.2" = [ + "hephaistos.local" + "hephaistos.aristote.mesh" + ]; + "192.168.4.10" = [ "steam-deck.local" ]; }; interfaces = { @@ -25,11 +29,13 @@ }; # NAT - boot.kernel.sysctl = {"net.ipv4.ip_forward" = 1;}; + boot.kernel.sysctl = { + "net.ipv4.ip_forward" = 1; + }; networking = { nat = { enable = true; - internalInterfaces = ["ve-+"]; + internalInterfaces = [ "ve-+" ]; externalInterface = "wlp0s20f3"; }; }; |
