mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
35 lines
775 B
Nix
35 lines
775 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib; {
|
|
config.elss.wireguard = {
|
|
|
|
interfaces = {
|
|
stelnet = {
|
|
servers = {
|
|
metis = {
|
|
localIp = "1";
|
|
extraIps = [ "1" "142" ];
|
|
publicKey = "wP49t1TYXI3ucsYb8RavNGwIf+8nx5UBgDU0PM9VlnI=";
|
|
endpoint = "metis.ellmauthaler.net:51820"; #TODO
|
|
};
|
|
};
|
|
|
|
peers = { # TODO
|
|
stelphone = {
|
|
localIp = "142";
|
|
publicKey = "UnS5BtlKKTXfNaSsw2PY7Gbd5aLGiJVlCUY7bHosLio=";
|
|
};
|
|
};
|
|
|
|
prefixes = {
|
|
ipv4 = [ "192.168.244" ];
|
|
ipv6 = {
|
|
ula = [ "fdaa:3313:9dfa:dfa3" ]; # TODO
|
|
gua = [ ];
|
|
};
|
|
serial = "2022073100";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|