@ -52,7 +52,7 @@ let
# in.
# in.
allowNullPassword ? false
allowNullPassword ? false
, # The limits, as per limits.conf(5).
, # The limits, as per limits.conf(5).
limits ? [ ]
limits ? config . security . pam . loginLimits
} :
} :
{ source = pkgs . writeText " ${ name } . p a m "
{ source = pkgs . writeText " ${ name } . p a m "
@ -132,13 +132,12 @@ in
] ;
] ;
description =
description =
'' D e f i n e r e s o u r c e l i m i t s t h a t s h o u l d a p p l y t o u s e r s o r g r o u p s f o r t h e
'' D e f i n e r e s o u r c e l i m i t s t h a t s h o u l d a p p l y t o u s e r s o r g r o u p s .
<command> login < /command > service . Each item in the list should be
Each item in the list should be an attribute set with a
an attribute set with a <varname> domain < /varname > ,
<varname> domain < /varname > , <varname> type < /varname > ,
<varname> type < /varname > , <varname> item < /varname > , and
<varname> item < /varname > , and <varname> value < /varname >
<varname> value < /varname > attribute . The syntax and semantics of
attribute . The syntax and semantics of these attributes
these attributes must be that described in the limits . conf ( 5 ) man
must be that described in the limits . conf ( 5 ) man page .
page .
'' ;
'' ;
} ;
} ;
@ -212,7 +211,6 @@ in
setuid = true ;
setuid = true ;
} ] ;
} ] ;
security . pam . services =
security . pam . services =
# Most of these should be moved to specific modules.
# Most of these should be moved to specific modules.
[ { name = " c u p s " ; }
[ { name = " c u p s " ; }