1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-01 19:23:52 +00:00
ultima/modules/nixos/services/tailscale/default.nix
2024-11-21 18:24:15 +09:00

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";
};
};
};
}