fix: netbird secret and inotify

This commit is contained in:
Patrick 2024-04-24 15:50:56 +02:00
parent 3ea4c5a864
commit 0d51f36b2a
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 6 additions and 2 deletions

View file

@ -15,11 +15,13 @@
age.secrets.coturnSecret = {
generator.script = "alnum";
group = "netbird";
owner = "turnserver";
};
age.secrets.dataEnc = {
generator.script = "alnum";
generator.script = {pkgs, ...}: ''
${lib.getExe pkgs.openssl} rand -base64 32
'';
group = "netbird";
};

View file

@ -65,6 +65,8 @@
};
};
boot.kernel.sysctl."fs.inotify.max_user_instances" = 1024;
services.zrepl = {
enable = true;
settings = {