aboutsummaryrefslogtreecommitdiff
path: root/node/caribou.nix
diff options
context:
space:
mode:
Diffstat (limited to 'node/caribou.nix')
-rw-r--r--node/caribou.nix11
1 files changed, 10 insertions, 1 deletions
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 = {