services: pam: Allow extension of pam limits.

* gnu/services/pam.scm (pam-limits-service-type): Allow extension of pam
limits rules from users and services.

Change-Id: I93a363d1a2887493d52ef3ae32fc9721f81ddfa8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2024-08-23 13:40:55 +02:00 committed by Ludovic Courtès
parent 3eb720bd0b
commit 9411a1495f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1739,6 +1739,8 @@ (module "pam_limits.so")
(service-type
(name 'limits)
(compose concatenate)
(extend append)
(extensions
(list (service-extension pam-root-service-type
(lambda (config)