rename wgautomesh config to deuxfleurs namespace to avoid conflict

This commit is contained in:
Alex 2023-06-12 13:40:53 +02:00
parent 1a11ff4202
commit e71ca8fe11
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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" ];