diff options
Diffstat (limited to 'os/fscusat/modules/network/lan.nix')
| -rw-r--r-- | os/fscusat/modules/network/lan.nix | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/os/fscusat/modules/network/lan.nix b/os/fscusat/modules/network/lan.nix new file mode 100644 index 0000000..fefcd14 --- /dev/null +++ b/os/fscusat/modules/network/lan.nix @@ -0,0 +1,23 @@ +{ ... }: + +let +  wan = "ens18"; +in +{ +  networking = { +    interfaces.${wan}.ipv4.addresses = [ +      { +        address = "10.0.8.101"; +        prefixLength = 16; +      } +    ]; +    defaultGateway = { +      address = "10.0.0.1"; +      interface = wan; +    }; +    nameservers = [ +      "10.0.0.2" +      "10.0.0.3" +    ]; +  }; +}  | 
