Increase locked memory to 1 GiB

This commit is contained in:
Rodrigo Arias 2023-04-28 12:34:51 +02:00
parent 2815f5bcfd
commit 818edccb34

View File

@ -22,6 +22,16 @@
serviceConfig.Restart = "always"; serviceConfig.Restart = "always";
}; };
# Increase limits
security.pam.loginLimits = [
{
domain = "*";
type = "-";
item = "memlock";
value = "1048576"; # 1 GiB of mem locked
}
];
time.timeZone = "Europe/Madrid"; time.timeZone = "Europe/Madrid";
i18n.defaultLocale = "en_DK.UTF-8"; i18n.defaultLocale = "en_DK.UTF-8";