summaryrefslogtreecommitdiff
path: root/hosts/lia/modules/network/default.nix
blob: 927b2b5a597108f2cadedd2205bd3eadb15ee672 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ ... }: let
  wan = "enp4s0f2";
in
{
  imports = [
    ./router.nix
  ];

  networking = {
    interfaces.${wan}.ipv4.addresses = [{
      address = "172.16.148.20";
      prefixLength = 22;
    }];
    defaultGateway = {
      address = "172.16.148.1";
      interface = wan;
    };
  };
}