aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-06-12 13:40:53 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-12 13:40:53 +0200
commite71ca8fe11f51f1aaae770386565cafbdc8ec512 (patch)
tree9dc5074caa9ba2778ddced224bd3682ab078f230
parent1a11ff42029e0a6cb5f5b9c34043af9d6d52e5ab (diff)
downloadnixcfg-e71ca8fe11f51f1aaae770386565cafbdc8ec512.tar.gz
nixcfg-e71ca8fe11f51f1aaae770386565cafbdc8ec512.zip
rename wgautomesh config to deuxfleurs namespace to avoid conflict
-rw-r--r--nix/deuxfleurs.nix2
-rw-r--r--nix/wgautomesh.nix4
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" ];