nix-config/system/network/tailscale.nix

17 lines
265 B
Nix
Raw Normal View History

2025-09-01 14:53:46 +02:00
{
lib,
config,
...
}:
with lib; let
cfg = config.mySystem.network.tailscale;
in {
options.mySystem.network.tailscale = {
enable = mkOption {
type = types.bool;
default = true;
};
2025-09-01 14:53:46 +02:00
};
config.services.tailscale.enable = cfg.enable;
2025-09-01 14:53:46 +02:00
}