summaryrefslogtreecommitdiff
path: root/modules/nixos/networking/networks
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/networking/networks')
-rw-r--r--modules/nixos/networking/networks/109-199-104-83.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/modules/nixos/networking/networks/109-199-104-83.nix b/modules/nixos/networking/networks/109-199-104-83.nix
index 2cacb55..ad599b1 100644
--- a/modules/nixos/networking/networks/109-199-104-83.nix
+++ b/modules/nixos/networking/networks/109-199-104-83.nix
@@ -1,7 +1,6 @@
{
networking = {
- useNetworkd = true;
- usePredictableInterfaceNames = true;
+ useDHCP = false;
hostName = "109-199-104-83";
firewall = {
enable = true;
@@ -9,19 +8,8 @@
allowedUDPPorts = [80 443];
};
};
- systemd.network = {
+ services.cloud-init = {
enable = true;
- networks."40-wan" = {
- matchConfig.Name = "enx0050565f4fff";
- address = ["2a02:c207:2299:8419::1/64" "109.199.104.83/20"];
- routes = [
- {
- Gateway = "109.199.96.1";
- GatewayOnLink = true;
- }
- {Gateway = "fe80::1";}
- ];
- dns = ["2620:fe::fe" "9.9.9.9"];
- };
+ network.enable = true;
};
}