Changing lightning invoice expiration time

Hello,

I couldn’t find a way to change the default expiration time of lightning invoices from 1hour to 24hours.

I ended up using the cli as follow sudo ./lncli addinvoice --expiry 86400 --amt 395 --memo "Test invoice with lncli"

However in the successful output I see a depreciation notice for lncli:

  *** Deprecation notice ***
  In a future version of Umbrel, 'lncli' will be removed.

How am I supposed to do this moving forward? Did I miss a GUI setting or a lnd.conf file?

Thanks a lot.