sysctl changes for tons of containers
This commit is contained in:
parent
e8388b34e7
commit
1a33349f29
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
boot.kernel.sysctl = {
|
||||||
|
"fs.inotify.max_user_watches" = 10485760;
|
||||||
|
"fs.inotify.max_user_instances" = 1024;
|
||||||
|
};
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableOnBoot = true;
|
enableOnBoot = true;
|
||||||
|
@ -9,4 +13,4 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ docker-compose ];
|
environment.systemPackages = with pkgs; [ docker-compose ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue