mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: put real MAC addresses in repo secrets
This commit is contained in:
parent
6f8f74cc69
commit
f2f8ca71bb
13 changed files with 47 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{ nodeSecrets, ... }: {
|
||||
networking = {
|
||||
hostId = "4313abca";
|
||||
wireless.iwd.enable = true;
|
||||
|
@ -7,14 +7,14 @@
|
|||
systemd.network.networks = {
|
||||
"10-lan1" = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
matchConfig.MACAddress = nodeSecrets.networking.interfaces.lan1.mac;
|
||||
networkConfig.IPv6PrivacyExtensions = "kernel";
|
||||
dhcpV4Config.RouteMetric = 10;
|
||||
dhcpV6Config.RouteMetric = 10;
|
||||
};
|
||||
"10-wlan1" = {
|
||||
DHCP = "yes";
|
||||
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||
matchConfig.MACAddress = nodeSecrets.networking.interfaces.wlan1.mac;
|
||||
networkConfig.IPv6PrivacyExtensions = "kernel";
|
||||
dhcpV4Config.RouteMetric = 40;
|
||||
dhcpV6Config.RouteMetric = 40;
|
||||
|
|
BIN
hosts/nom/secrets/secrets.nix.age
Normal file
BIN
hosts/nom/secrets/secrets.nix.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue