Laptop no longer suspending after latest nixos-unstable update

Hi all,

I recently updated my nixos-unstable. I use i3wm, and in the past, after a period of inactivity, my laptop will automatically lock its screen, and then eventually go to sleep.
My relevant config:

  programs.xss-lock = {
    enable = true;
    lockerCommand = "${pkgs.betterlockscreen}/bin/betterlockscreen -l";
  };
  services.logind.extraConfig = ''
      # don’t shutdown when power button is short-pressed
      HandlePowerKey=suspend
      IdleAction=suspend
      IdleActionSec=10min
    '';

It looks like there is a feature that I have been using that recently got removed. Is this true? If so, do you have a recommendation for a replacement? I tried xidlehook, but unfortunately its --not-when-audio flag requires PulseAudio.

Thank you very much!