Increase inotify limit for servers
This commit is contained in:
parent
3e5db7c01b
commit
bfc12c7624
2 changed files with 10 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -29,10 +29,17 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
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 = {
|
||||
openssh.enable = true;
|
||||
|
|
Loading…
Reference in a new issue