diff --git a/options/custom/services/default.nix b/options/custom/services/default.nix index 90de35d..448311c 100644 --- a/options/custom/services/default.nix +++ b/options/custom/services/default.nix @@ -6,6 +6,7 @@ with lib; config.custom.services = mkMerge [ (mkIf config.custom.default { #// agenix.enable = true; + #// netbird.enable = true; tailscale.enable = true; }) diff --git a/options/custom/services/netbird.nix b/options/custom/services/netbird.nix new file mode 100644 index 0000000..810ecf8 --- /dev/null +++ b/options/custom/services/netbird.nix @@ -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; + }; + }; +}