diff --git a/node/caribou.nix b/node/caribou.nix index 1ffdaf1..ca64293 100644 --- a/node/caribou.nix +++ b/node/caribou.nix @@ -12,7 +12,16 @@ prefixLength = 24; } ]; - networking.interfaces.enp0s20u1.useDHCP = true; + + # Route internet traffic via USB modem (=phone) on other computer + networking.nameservers = [ "9.9.9.9" ]; + networking.defaultGateway = { + address = "192.168.1.14"; + interface = "eno1"; + }; + + # OR use USB modem plugged in here + #networking.interfaces.enp0s20u1.useDHCP = true; # Enable nix-serve services.nix-serve = {