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

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