feat: give droppie a static IP
This commit is contained in:
parent
f638f8c597
commit
76b9c84735
|
@ -4,15 +4,17 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = {
|
networking.interfaces.enabcm6e4ei0 = {
|
||||||
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3077:3::"; prefixLength = 128; } ];
|
||||||
|
};
|
||||||
|
|
||||||
pub-solar.wireguard-client = {
|
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
||||||
ownIPs = [
|
|
||||||
"10.0.1.3/32"
|
pub-solar.wireguard-client = {
|
||||||
"fd00:b12f:acab:1312:acab:3::/96"
|
ownIPs = [
|
||||||
];
|
"10.0.1.3/32"
|
||||||
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
"fd00:b12f:acab:1312:acab:3::/96"
|
||||||
};
|
];
|
||||||
|
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue