CHANGES: NetworkManager to systemd-networkd
This commit is contained in:
parent
bb18183277
commit
fd9f5e202c
6 changed files with 41 additions and 20 deletions
|
|
@ -1,8 +1,7 @@
|
|||
_: {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
nameservers = ["1.1.1.1" "8.8.8.8"];
|
||||
dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
# dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
firewall.enable = true;
|
||||
interfaces.enp11s0.wakeOnLan.enable = true ;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,14 +28,6 @@
|
|||
};
|
||||
|
||||
users.users.lomig.extraGroups = ["libvirtd" "kvm" "input"];
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
};
|
||||
|
||||
systemd.network.networks."10-br0" = {
|
||||
matchConfig.Name = "br0";
|
||||
networkConfig.DHCP = "yes";
|
||||
};
|
||||
|
||||
environment.etc."qemu/bridge.conf".text = ''
|
||||
allow br0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue