sysctl changes for tons of containers

This commit is contained in:
albert 2023-12-02 20:11:50 +09:00
parent e8388b34e7
commit 1a33349f29
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -1,4 +1,8 @@
{ pkgs, ... }: {
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 10485760;
"fs.inotify.max_user_instances" = 1024;
};
virtualisation.docker = {
enable = true;
enableOnBoot = true;
@ -9,4 +13,4 @@
};
environment.systemPackages = with pkgs; [ docker-compose ];
}
}