How do I increase the disk space of /run/user/999?

I found the answer here:

I needed to configure systemd’s logind using the services.logind.extraConfig option.

You do need to reboot the system after applying nixos-rebuild switch.

3 Likes