1
1
Fork 0

zerotierone: initial service

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-28 13:06:11 -05:00
parent 71efe79cb2
commit 1dbd2b876c
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 20 additions and 0 deletions

View file

@ -47,6 +47,7 @@ with lib; {
swaync.enable = true;
swayosd.enable = true;
#// xembed-sni-proxy.enable = true;
zerotierone.enable = true;
})
];
}

View file

@ -0,0 +1,19 @@
{
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;
};
};
}