nixcfg/nixosModules/services/tailscale/default.nix

18 lines
295 B
Nix
Raw Normal View History

2024-04-30 14:53:17 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.services.tailscale.enable = lib.mkEnableOption "Enable Tailscale";
};
config = lib.mkIf config.alyraffauf.services.tailscale.enable {
services.tailscale = {
enable = true;
openFirewall = true;
};
};
}