1
1
Fork 0

netbird: initial disabled service

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-10 21:27:00 -05:00
parent a4de5f3324
commit bf2f2d5485
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 18 additions and 0 deletions

View file

@ -6,6 +6,7 @@ with lib;
config.custom.services = mkMerge [ config.custom.services = mkMerge [
(mkIf config.custom.default { (mkIf config.custom.default {
#// agenix.enable = true; #// agenix.enable = true;
#// netbird.enable = true;
tailscale.enable = true; tailscale.enable = true;
}) })

View file

@ -0,0 +1,17 @@
{ config, lib, ... }:
with lib;
let
cfg = config.custom.services.netbird;
in
{
options.custom.services.netbird.enable = mkOption { default = false; };
config = mkIf cfg.enable {
# https://github.com/netbirdio/netbird
services.netbird = {
enable = true;
};
};
}