nixos/modules/services/tang.nix

24 lines
409 B
Nix
Raw Permalink 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"
"10.64.50.26/32"
2024-10-19 01:21:41 +01:00
"10.64.50.27/32"
2024-11-04 21:12:43 +00:00
"10.64.50.28/32"
2024-11-05 22:10:12 +00:00
"10.64.50.29/32"
2024-04-22 20:49:43 +01:00
];
};
};
}