mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
enable fail2ban, fix network config
This commit is contained in:
parent
d77634f7f7
commit
8753230721
5 changed files with 98 additions and 12 deletions
|
|
@ -14,18 +14,6 @@
|
|||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
systemd.network.networks."10-wan" = {
|
||||
networkConfig.DHCP = "no";
|
||||
address = [
|
||||
"167.235.18.32/32"
|
||||
"2a01:4f8:c2c:2e49::1/64"
|
||||
];
|
||||
routes = [
|
||||
{ routeConfig = { Destination = "172.31.1.1"; }; }
|
||||
{ routeConfig = { Gateway = "172.31.1.1"; GatewayOnLink = true; }; }
|
||||
{ routeConfig.Gateway = "fe80::1"; }
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue