mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 16:53:54 +00:00
18 lines
321 B
Nix
18 lines
321 B
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.services.tailscale;
|
|
in {
|
|
options = { module.services.tailscale = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services = {
|
|
tailscale = True // { # OWN VPN NETWORK
|
|
useRoutingFeatures = "both";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|