refactor + syncthing
This commit is contained in:
parent
0f3e917ba7
commit
20472f8d1b
7 changed files with 43 additions and 24 deletions
|
|
@ -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")) (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue