tailscale/nixos/tailscaled-module.nix
Mike O'Driscoll e026660612
WIP
Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
2025-07-27 20:59:33 -04:00

26 lines
407 B
Nix

{
config,
lib,
...
}: let
cfg = config.services.tailscale;
inherit
(lib)
mkEnableOption
mkIf
mkOption
types
;
in {
# Tailscale config options
options.services.tailscale = {
enable = mkEnabledOption "Enable Tailscale service";
port = mkOption {
type = types.port;
default = 41641;
description = "The port Tailscale listens on.";
};
};
}