sid.ovh/hosts/vde/networking.nix
sid 91db9e4626
Some checks failed
Flake check / flake-check (pull_request) Failing after 10s
Build hosts / build-hosts (pull_request) Failing after 17s
host sid is now nameserver
2026-04-19 00:54:46 +02:00

29 lines
581 B
Nix

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