From 6faa9df23b173cee8f73c8fbae7cacd4352303c5 Mon Sep 17 00:00:00 2001 From: Lyn Date: Wed, 13 Nov 2024 20:27:18 +0100 Subject: [PATCH] changed prefix to lyn because that works too now; fixed network.nix defining config values inside the options scope --- hosts/network.nix | 8 ++++---- modules/services/wgautomesh.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/network.nix b/hosts/network.nix index 9892c3d..8d9d90e 100644 --- a/hosts/network.nix +++ b/hosts/network.nix @@ -3,7 +3,7 @@ config, ... }: let - prefix = "meshconfig"; + prefix = "lyn"; #define wireguard subnets wg_subnets = { @@ -125,8 +125,8 @@ in { description = "All hosts in this network that this config should be aware of"; }; }; - ${prefix}.network = { - inherit hosts wg_subnets; - }; + }; + ${prefix}.network = { + inherit hosts wg_subnets; }; } diff --git a/modules/services/wgautomesh.nix b/modules/services/wgautomesh.nix index 5d2b694..c7cd936 100644 --- a/modules/services/wgautomesh.nix +++ b/modules/services/wgautomesh.nix @@ -5,7 +5,7 @@ cfg, ... }: let - prefix = "meshconfig"; + prefix = "lyn"; # function to make a peerlist suitable for wgautomesh buildPeerlist = version: hosts: let