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 account = cfg.awsAccount; 24 defaultrole = cfg.awsDefaultRole; 25 }; 26 - stats = cfg.statsAddress; 27 - listen = cfg.listenAddress; 28 }); 29 in { 30 options = { ··· 105 type = types.str; 106 default = ""; 107 description = "Address of statsd server"; 108 }; 109 }; 110 };
··· 23 account = cfg.awsAccount; 24 defaultrole = cfg.awsDefaultRole; 25 }; 26 + stats = cfg.statsAddress; 27 + listen = cfg.listenAddress; 28 + cachetimeout = cfg.cacheTimeoutSeconds; 29 }); 30 in { 31 options = { ··· 106 type = types.str; 107 default = ""; 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"; 115 }; 116 }; 117 };