Allow PAM resource limits to be integers
This commit is contained in:
parent
af8fc748dd
commit
ff74d78c9d
@ -218,10 +218,9 @@ let
|
|||||||
# Create a limits.conf(5) file.
|
# Create a limits.conf(5) file.
|
||||||
makeLimitsConf = limits:
|
makeLimitsConf = limits:
|
||||||
pkgs.writeText "limits.conf"
|
pkgs.writeText "limits.conf"
|
||||||
(concatStringsSep "\n"
|
(concatMapStrings ({ domain, type, item, value }:
|
||||||
(map ({ domain, type, item, value }:
|
"${domain} ${type} ${item} ${toString value}\n")
|
||||||
concatStringsSep " " [ domain type item value ])
|
limits);
|
||||||
limits));
|
|
||||||
|
|
||||||
motd = pkgs.writeText "motd" config.users.motd;
|
motd = pkgs.writeText "motd" config.users.motd;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user