zerotierone: initial service
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
71efe79cb2
commit
1dbd2b876c
2 changed files with 20 additions and 0 deletions
|
@ -47,6 +47,7 @@ with lib; {
|
|||
swaync.enable = true;
|
||||
swayosd.enable = true;
|
||||
#// xembed-sni-proxy.enable = true;
|
||||
zerotierone.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
19
options/custom/services/zerotierone.nix
Normal file
19
options/custom/services/zerotierone.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue