refactor + syncthing

This commit is contained in:
Henri Dohmen 2025-12-20 23:37:05 +01:00
parent 0f3e917ba7
commit 20472f8d1b
Signed by: hd
GPG key ID: AB79213B044674AE
7 changed files with 43 additions and 24 deletions

View file

@ -35,6 +35,7 @@ rec {
};
keyFile = "/var/secrets/wg.key";
# Helper method: `peers-for x` filters out `x` from wireguard-network
peers-for =
host:
map (lib.filterAttrs (n: _: n != "ips")) (