From e71ca8fe11f51f1aaae770386565cafbdc8ec512 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 12 Jun 2023 13:40:53 +0200 Subject: [PATCH] rename wgautomesh config to deuxfleurs namespace to avoid conflict --- nix/deuxfleurs.nix | 2 +- nix/wgautomesh.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 664b949..76091c1 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -251,7 +251,7 @@ in privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private"; mtu = 1420; }; - services.wgautomesh = { + deuxfleurs.services.wgautomesh = { enable = true; interface = "wg0"; gossipPort = cfg.wgautomeshPort; diff --git a/nix/wgautomesh.nix b/nix/wgautomesh.nix index 55aa73f..1c36198 100644 --- a/nix/wgautomesh.nix +++ b/nix/wgautomesh.nix @@ -8,11 +8,11 @@ in { lib, config, pkgs, ... }: with lib; let - cfg = config.services.wgautomesh; + cfg = config.deuxfleurs.services.wgautomesh; in with builtins; { - options.services.wgautomesh = { + options.deuxfleurs.services.wgautomesh = { enable = mkEnableOption "wgautomesh"; logLevel = mkOption { type = types.enum [ "trace" "debug" "info" "warn" "error" ];