diff --git a/nixos/modules/private-storage.nix b/nixos/modules/private-storage.nix index b4efbf254c855aecb894fd073318ca1f9a5bd434..58d1421721de00ee18ef535c50616dfcf6ce825e 100644 --- a/nixos/modules/private-storage.nix +++ b/nixos/modules/private-storage.nix @@ -17,7 +17,7 @@ let # # NOTE: This is promised by the service privacy policy. It *may not* be # raised without following the process for updating the privacy policy. - max-incident-age = toString(config.services.private-storage.monitoring.policy.logRetentionSeconds) + "s"; + max-incident-age = toString(cfg.monitoring.policy.logRetentionSeconds) + "s"; fqdn = "${ assert config.networking.hostName != null; config.networking.hostName