vde: fix networking
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 19s
Flake check / flake-check (pull_request) Successful in 19s

This commit is contained in:
sid 2026-04-19 00:56:32 +02:00
parent 91db9e4626
commit bca37c6ed7

View file

@ -1,28 +1,30 @@
{ constants, ... }: { constants, ... }:
{ {
networking.networkmanager.ensureProfiles.profiles = { networking = {
nameservers = [ constants.hosts.sid.ip ]; nameservers = [ constants.hosts.sid.ip ];
enp34s0-profile = { networkmanager.ensureProfiles.profiles = {
connection = { enp34s0-profile = {
id = "enp34s0"; connection = {
type = "ethernet"; id = "enp34s0";
interface-name = "enp34s0"; type = "ethernet";
interface-name = "enp34s0";
};
ipv4 = {
method = "auto";
route-metric = 50;
};
}; };
ipv4 = { enp36s0-profile = {
method = "auto"; connection = {
route-metric = 50; id = "enp36s0";
}; type = "ethernet";
}; interface-name = "enp36s0";
enp36s0-profile = { };
connection = { ipv4 = {
id = "enp36s0"; method = "auto";
type = "ethernet"; route-metric = 200;
interface-name = "enp36s0"; };
};
ipv4 = {
method = "auto";
route-metric = 200;
}; };
}; };
}; };