mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: add odroid-h3 host "ward"
This commit is contained in:
parent
7a8ffd9a2e
commit
c5a5cf14ba
9 changed files with 150 additions and 59 deletions
22
hosts/ward/net.nix
Normal file
22
hosts/ward/net.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
networking = {
|
||||
hostId = "49ce3b71";
|
||||
hostName = "ward";
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
systemd.network.networks = {
|
||||
enp1s0 = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
dhcpV4Config.RouteMetric = 10;
|
||||
dhcpV6Config.RouteMetric = 10;
|
||||
};
|
||||
enp2s0 = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
dhcpV4Config.RouteMetric = 10;
|
||||
dhcpV6Config.RouteMetric = 10;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue