From bbe8ad4e0520110545efae27be5f4256257ddd3d Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 16 Dec 2021 20:17:40 +0100 Subject: [PATCH] switch to networkd --- systems/LoutreOS/configuration.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 5d42fee..8f30b39 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -46,16 +46,8 @@ hostName = "loutreos"; # Define your hostname. hostId = "7e66e347"; - dhcpcd = { - persistent = true; - extraConfig = '' - interface bouyges - metric 10 - noarp - interface enp0s21u2 - metric 999 - ''; - }; + useNetworkd = true; + useDHCP = false; vlans = { bouyges = { @@ -69,10 +61,10 @@ }; interfaces = { - eno1.useDHCP = false; bouyges = { # Adresse MAC BBox ? https://lafibre.info/remplacer-bbox/informations-de-connexion-ftth/msg598303/#msg598303 macAddress = "E8:AD:A6:21:73:68"; + useDHCP = true; }; eno2 = { ipv4.addresses = [