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";
|
privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private";
|
||||||
mtu = 1420;
|
mtu = 1420;
|
||||||
};
|
};
|
||||||
services.wgautomesh = {
|
deuxfleurs.services.wgautomesh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interface = "wg0";
|
interface = "wg0";
|
||||||
gossipPort = cfg.wgautomeshPort;
|
gossipPort = cfg.wgautomeshPort;
|
||||||
|
|
|
@ -8,11 +8,11 @@ in
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.services.wgautomesh;
|
cfg = config.deuxfleurs.services.wgautomesh;
|
||||||
in
|
in
|
||||||
with builtins;
|
with builtins;
|
||||||
{
|
{
|
||||||
options.services.wgautomesh = {
|
options.deuxfleurs.services.wgautomesh = {
|
||||||
enable = mkEnableOption "wgautomesh";
|
enable = mkEnableOption "wgautomesh";
|
||||||
logLevel = mkOption {
|
logLevel = mkOption {
|
||||||
type = types.enum [ "trace" "debug" "info" "warn" "error" ];
|
type = types.enum [ "trace" "debug" "info" "warn" "error" ];
|
||||||
|
|
Loading…
Reference in a new issue