Networking configuration
This commit is contained in:
parent
077d466bcd
commit
596a1e2e5d
1 changed files with 10 additions and 1 deletions
|
@ -12,7 +12,16 @@
|
||||||
prefixLength = 24;
|
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
|
# Enable nix-serve
|
||||||
services.nix-serve = {
|
services.nix-serve = {
|
||||||
|
|
Loading…
Reference in a new issue