switch to networkd

This commit is contained in:
nyanloutre 2021-12-16 20:17:40 +01:00
parent 19d440a00d
commit bbe8ad4e05
1 changed files with 3 additions and 11 deletions

View File

@ -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 = [