summaryrefslogblamecommitdiff
path: root/os/dspace/modules/network.nix
blob: 007cfbaf2e761e0bbb3d87c856b1ec7ccbc85a91 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                            
{ ... }:

let
  wan = "ens18";
in
{
  networking = {
    interfaces.${wan}.ipv4.addresses = [{
      address = "10.0.8.107";
      prefixLength = 16;
    }];
    defaultGateway = {
      address = "10.0.0.1";
      interface = wan;
    };
    nameservers = [ "10.0.0.2" "10.0.0.3" ];
  };
}