netbird: initial disabled service
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
a4de5f3324
commit
bf2f2d5485
2 changed files with 18 additions and 0 deletions
|
@ -6,6 +6,7 @@ with lib;
|
|||
config.custom.services = mkMerge [
|
||||
(mkIf config.custom.default {
|
||||
#// agenix.enable = true;
|
||||
#// netbird.enable = true;
|
||||
tailscale.enable = true;
|
||||
})
|
||||
|
||||
|
|
17
options/custom/services/netbird.nix
Normal file
17
options/custom/services/netbird.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue