nixos/modules/services/tang.nix

21 lines
334 B
Nix
Raw Normal View History

2024-04-22 20:49:43 +01:00
{ config, pkgs, lib, ... }:
let
cfg = config.custom.services.tang;
in
{
options.custom.services.tang = {
enable = lib.mkEnableOption "tang";
};
config = lib.mkIf cfg.enable {
services.tang = {
enable = true;
ipAddressAllow = [
"138.201.252.214/32"
2024-06-10 21:29:21 +01:00
"10.64.50.20/32"
2024-04-22 20:49:43 +01:00
];
};
};
}