forked from Deuxfleurs/nixcfg
rename wgautomesh config to deuxfleurs namespace to avoid conflict
This commit is contained in:
parent
1a11ff4202
commit
e71ca8fe11
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue