Increase inotify limit for servers

This commit is contained in:
Pim Kunis 2024-12-04 22:57:37 +01:00
parent 3e5db7c01b
commit bfc12c7624
2 changed files with 10 additions and 4 deletions

View file

@ -16,7 +16,6 @@
};
pim = {
# TODO: this should be dynamically set using Colmena tags
k3s.serverAddr = "https://jefke.dmz:6443";
data-sharing.enable = true;
backups.enable = true;

View file

@ -29,9 +29,16 @@
};
};
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
boot = {
# Increase this from 128.
# It seems containerization solutions use this a lot.
# Then, if exhausted, deployment of sops keys fail.
kernel.sysctl."fs.inotify.max_user_instances" = 256;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
services = {