System Gen28 @ 2025-05-13-22:58:24 by jonas@harbor

This commit is contained in:
Jonas Röger 2025-05-13 22:58:25 +02:00
parent 532af9900f
commit 410299c664
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
};
forServer =
builtins.mapAttrs (_: v: {
lib.mapAttrsToList (_: v: {
inherit (v) publicKey allowedIPs;
})
clients;

View File

@ -4,7 +4,7 @@
...
}: let
cfg = config.hive.wg.server;
peers = import ./peers.nix {};
peers = import ./peers.nix {inherit lib;};
in {
options.hive.wg.server = {
enable = lib.mkEnableOption "Enable WireGuard server";