1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: add ping to initrd; add gateway to sire

This commit is contained in:
oddlama 2024-01-06 02:25:59 +01:00
parent 659d5a5241
commit 2476879e73
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@
enable = true;
networks."10-lan" = {
address = ["192.168.1.2/24"];
gateway = ["192.168.1.1"];
matchConfig.MACAddress = config.repo.secrets.local.networking.interfaces.lan.mac;
networkConfig = {
IPv6PrivacyExtensions = "yes";
@ -42,6 +43,7 @@
};
"20-lan-self" = {
address = ["192.168.1.2/24"];
gateway = ["192.168.1.1"];
matchConfig.Name = "lan-self";
networkConfig = {
IPv6PrivacyExtensions = "yes";