aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-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" ];