modules.services.tailscale: disable tailscale on aarch64

This commit is contained in:
2025-12-16 17:55:16 +08:00
parent 07c0fc44d0
commit 0a5bbb14fe

View File

@@ -1,7 +1,10 @@
inputs:
{
options.nixos.services.tailscale = let inherit (inputs.lib) mkOption types; in mkOption
{ type = types.nullOr (types.submodule {}); default = {}; };
{
type = types.nullOr (types.submodule {});
default = if inputs.config.nixos.model.arch == "x86_64" then {} else null;
};
config = let inherit (inputs.config.nixos.services) tailscale; in inputs.lib.mkIf (tailscale != null)
{
services.tailscale =