nix-config/modules/network/tailscale.nix
2025-02-25 15:56:58 +01:00

21 lines
347 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.network.tailscale;
in {
options = {
horseman.network.tailscale = {
enable = mkEnableOption "Enable the Tailscale VPN service";
};
};
config = {
services.tailscale.enable = true;
};
}