1
1
Fork 0

tailscale: add tray option

This commit is contained in:
Myned 2025-03-29 18:16:00 -05:00
parent 6a02e86599
commit 701e38969c
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -19,6 +19,7 @@ in {
options.custom.services.tailscale = {
enable = mkOption {default = false;};
cert = mkOption {default = false;};
tray = mkOption {default = false;};
};
# TODO: Use caddy plugin for provisioning when supported by NixOS
@ -63,5 +64,12 @@ in {
};
};
};
home-manager.sharedModules = [
{
# https://github.com/DeedleFake/trayscale
services.trayscale.enable = cfg.tray;
}
];
};
}