file limits
This commit is contained in:
@@ -66,7 +66,6 @@ services:
|
||||
environment:
|
||||
SOLR_HEAP: 512m
|
||||
LOG4J_FORMAT_MSG_NO_LOOKUPS: "true"
|
||||
mem_swappiness: 1
|
||||
volumes:
|
||||
- /data/musicbrainz/solr:/var/solr
|
||||
- /data/musicbrainz/dbdump:/media/dbdump:ro
|
||||
|
||||
@@ -8,7 +8,20 @@
|
||||
./modules/k3s.nix
|
||||
./modules/pci-passthrough.nix
|
||||
];
|
||||
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "*";
|
||||
type = "soft";
|
||||
item = "nofile";
|
||||
value = "65000";
|
||||
}
|
||||
{
|
||||
domain = "*";
|
||||
type = "hard";
|
||||
item = "nofile";
|
||||
value = "65000";
|
||||
}
|
||||
];
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user