System Gen182 @ 2025-05-02-23:48:15 by jonas@comfy-station

This commit is contained in:
2025-05-02 23:48:16 +02:00
parent 87db9887c2
commit 7add5e0db6
23 changed files with 302 additions and 247 deletions

View File

@@ -3,10 +3,10 @@
lib,
...
}: let
cfg = config.networking.wg.client;
cfg = config.hive.wg.client;
peers = import ./peers.nix {};
in {
options.networking.wg.client = {
options.hive.wg.client = {
enable = lib.mkEnableOption "Enable WireGuard client";
autoConnect = lib.mkOption {
type = lib.types.bool;

View File

@@ -3,10 +3,10 @@
lib,
...
}: let
cfg = config.networking.wg.server;
cfg = config.hive.wg.server;
peers = import ./peers.nix {};
in {
options.networking.wg.server = {
options.hive.wg.server = {
enable = lib.mkEnableOption "Enable WireGuard server";
port = lib.mkOption {
type = lib.types.port;