vde: fix networking
This commit is contained in:
parent
91db9e4626
commit
bca37c6ed7
1 changed files with 22 additions and 20 deletions
|
|
@ -1,28 +1,30 @@
|
|||
{ constants, ... }:
|
||||
|
||||
{
|
||||
networking.networkmanager.ensureProfiles.profiles = {
|
||||
networking = {
|
||||
nameservers = [ constants.hosts.sid.ip ];
|
||||
enp34s0-profile = {
|
||||
connection = {
|
||||
id = "enp34s0";
|
||||
type = "ethernet";
|
||||
interface-name = "enp34s0";
|
||||
networkmanager.ensureProfiles.profiles = {
|
||||
enp34s0-profile = {
|
||||
connection = {
|
||||
id = "enp34s0";
|
||||
type = "ethernet";
|
||||
interface-name = "enp34s0";
|
||||
};
|
||||
ipv4 = {
|
||||
method = "auto";
|
||||
route-metric = 50;
|
||||
};
|
||||
};
|
||||
ipv4 = {
|
||||
method = "auto";
|
||||
route-metric = 50;
|
||||
};
|
||||
};
|
||||
enp36s0-profile = {
|
||||
connection = {
|
||||
id = "enp36s0";
|
||||
type = "ethernet";
|
||||
interface-name = "enp36s0";
|
||||
};
|
||||
ipv4 = {
|
||||
method = "auto";
|
||||
route-metric = 200;
|
||||
enp36s0-profile = {
|
||||
connection = {
|
||||
id = "enp36s0";
|
||||
type = "ethernet";
|
||||
interface-name = "enp36s0";
|
||||
};
|
||||
ipv4 = {
|
||||
method = "auto";
|
||||
route-metric = 200;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue