mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: begin writing user config
This commit is contained in:
parent
abe369ba0a
commit
4b4268b537
14 changed files with 209 additions and 94 deletions
22
hosts/nom/net.nix
Normal file
22
hosts/nom/net.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
networking = {
|
||||
hostId = "4313abca";
|
||||
hostName = "nom";
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
systemd.network.networks = {
|
||||
wired = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
dhcpV4Config.RouteMetric = 10;
|
||||
dhcpV6Config.RouteMetric = 10;
|
||||
};
|
||||
wireless = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
dhcpV4Config.RouteMetric = 40;
|
||||
dhcpV6Config.RouteMetric = 40;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue