mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
34 lines
777 B
Nix
34 lines
777 B
Nix
{
|
|
networking = {
|
|
hostName = "jeeves";
|
|
hostId = "0e15ce35";
|
|
firewall.enable = true;
|
|
useNetworkd = true;
|
|
};
|
|
|
|
systemd.network = {
|
|
enable = true;
|
|
networks = {
|
|
"10-1GB_Primary" = {
|
|
matchConfig.Name = "enp98s0f0";
|
|
address = [ "192.168.95.14/24" ];
|
|
routes = [ { Gateway = "192.168.95.1"; } ];
|
|
linkConfig.RequiredForOnline = "routable";
|
|
};
|
|
"10-1GB_Secondary" = {
|
|
matchConfig.Name = "enp98s0f1";
|
|
DHCP = "yes";
|
|
};
|
|
"10-10GB_Primary" = {
|
|
matchConfig.Name = "enp97s0f0np0";
|
|
DHCP = "yes";
|
|
linkConfig.RequiredForOnline = "routable";
|
|
};
|
|
"10-10GB_Secondary" = {
|
|
matchConfig.Name = "enp97s0f1np1";
|
|
DHCP = "yes";
|
|
};
|
|
};
|
|
};
|
|
}
|