diff --git a/nixos/modules/services/system/earlyoom.nix b/nixos/modules/services/system/earlyoom.nix index debc0b7972fd1..45f1074b00317 100644 --- a/nixos/modules/services/system/earlyoom.nix +++ b/nixos/modules/services/system/earlyoom.nix @@ -167,7 +167,7 @@ in ++ optionals cfg.enableNotifications [ "-n" ] ++ optionals (cfg.killHook != null) [ "-N ${escapeShellArg cfg.killHook}" ] ++ cfg.extraArgs); - + AmbientCapabilities = [ "CAP_KILL" "CAP_IPC_LOCK"