1
1
Fork 0
nixos/options/custom/services/zerotierone.nix

20 lines
375 B
Nix
Raw Permalink Normal View History

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.services.zerotierone;
in {
options.custom.services.zerotierone.enable = mkOption {default = false;};
config = mkIf cfg.enable {
#!! Configuration is imperative
# https://www.zerotier.com/
# https://github.com/zerotier/ZeroTierOne
services.zerotierone = {
enable = true;
};
};
}