ACLs reset after rebuilding configuration

Filesystem is XFS.

My test user:

{
  users.users.test = {
    isNormalUser = true;
    home = "/home1/test";
  };
}

I’ve set ACLs like so.

{
  systemd.tmpfiles.rules = [
    "A /home1/test - - - - user:caddy:rwx"
  ];
}

After which it is applied.

sudo getfacl /home1/test
getfacl: Removing leading '/' from absolute path names
# file: home1/test
# owner: test
# group: users
user::rwx
user:caddy:rwx
group::---
mask::rwx
other::---

But if I run nixos-rebuild switch again, I no longer have these permissions. And it seems that the mask has changed:

sudo getfacl /home1/test
getfacl: Removing leading '/' from absolute path names
# file: home1/test
# owner: test
# group: users
user::rwx
user:caddy:rwx			#effective:---
group::---
mask::---
other::---

I’ve tried explicitly setting the mask, and after rebuilding it works again, but rebuild a 2nd time after and results are the same as above.

{
  systemd.tmpfiles.rules = [
    "A /home1/test - - - - user:caddy:rwx"
    "A+ /home1/test - - - - m::rwx"
  ];
}

I’ve tried similar with activationScripts and setfacl but get the same results. Google isn’t much of help, there are multiple unresolved similar posts:

https://www.reddit.com/r/NixOS/comments/13ga1yo/why_does_homemyuser_get_acl_mask_reset/