summaryrefslogblamecommitdiff
path: root/os/lia/modules/network/default.nix
blob: c8d9059135f865c09142e3d6873559fb2f6bafff (plain) (tree)
1
2
            
                 
















                                         
{ ... }: 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;
    };
  };
}