nixos/lxd/vm: fix network config
This commit is contained in:
parent
9e30176ced
commit
bdc79efc2b
@ -14,14 +14,15 @@
|
||||
];
|
||||
|
||||
networking = {
|
||||
dhcdpcd.enable = false;
|
||||
dhcpcd.enable = false;
|
||||
useDHCP = false;
|
||||
useHostResolvConf = false;
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."50-eth0" = {
|
||||
matchConfig.Name = "eth0";
|
||||
networks."50-enp5s0" = {
|
||||
matchConfig.Name = "enp5s0";
|
||||
networkConfig = {
|
||||
DHCP = "ipv4";
|
||||
IPv6AcceptRA = true;
|
||||
|
@ -27,8 +27,9 @@
|
||||
|
||||
# Network
|
||||
networking = {
|
||||
dhcdpcd.enable = false;
|
||||
dhcpcd.enable = false;
|
||||
useDHCP = false;
|
||||
useHostResolvConf = false;
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
Loading…
Reference in New Issue
Block a user