diff --git a/machines/lewis/configuration.nix b/machines/lewis/configuration.nix index cd489d8..ea6231b 100644 --- a/machines/lewis/configuration.nix +++ b/machines/lewis/configuration.nix @@ -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; diff --git a/nixos/server.nix b/nixos/server.nix index 270bacf..10beb4e 100644 --- a/nixos/server.nix +++ b/nixos/server.nix @@ -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 = {