From 62e2519639faa250f43f9e80e69906a59d07a44e Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Sat, 11 Jan 2025 03:55:19 +0100 Subject: delete legacy stuff and reformat --- hosts/cloud/networking.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hosts/cloud/networking.nix') diff --git a/hosts/cloud/networking.nix b/hosts/cloud/networking.nix index 8f3021a..499bb0c 100644 --- a/hosts/cloud/networking.nix +++ b/hosts/cloud/networking.nix @@ -1,11 +1,12 @@ -{ lib, ... }: { +{ lib, ... }: +{ networking.dhcpcd.enable = false; networking.useNetworkd = true; systemd.network.enable = true; systemd.network = { networks."30-uplink" = { - matchConfig.Name="enp1s0"; + matchConfig.Name = "enp1s0"; networkConfig = { Address = [ "188.245.196.27/32" -- cgit v1.3.1