summaryrefslogblamecommitdiff
path: root/hosts/lia/modules/network/default.nix
blob: 927b2b5a597108f2cadedd2205bd3eadb15ee672 (plain) (tree)


















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