hologram-server module: add cache timeout option

The version of hologram we're using has supported this option for a
while, but we didn't expose it through the NixOS module

+9 -2
+9 -2
nixos/modules/services/security/hologram-server.nix
··· 23 23 account = cfg.awsAccount; 24 24 defaultrole = cfg.awsDefaultRole; 25 25 }; 26 - stats = cfg.statsAddress; 27 - listen = cfg.listenAddress; 26 + stats = cfg.statsAddress; 27 + listen = cfg.listenAddress; 28 + cachetimeout = cfg.cacheTimeoutSeconds; 28 29 }); 29 30 in { 30 31 options = { ··· 105 106 type = types.str; 106 107 default = ""; 107 108 description = "Address of statsd server"; 109 + }; 110 + 111 + cacheTimeoutSeconds = mkOption { 112 + type = types.int; 113 + default = 3600; 114 + description = "How often (in seconds) to refresh the LDAP cache"; 108 115 }; 109 116 }; 110 117 };