From ff2be565618a72bce1a0ebe52c66e4cc2204a7b3 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 14 Mar 2021 17:25:03 +0000 Subject: [PATCH] blade: disable coredump writing --- ops/nixos/lib/blade.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ops/nixos/lib/blade.nix b/ops/nixos/lib/blade.nix index 19fe10e756..ee66b912ec 100644 --- a/ops/nixos/lib/blade.nix +++ b/ops/nixos/lib/blade.nix @@ -150,9 +150,14 @@ in { security.polkit.enable = true; users.users.lukegb.extraGroups = lib.mkAfter [ "libvirtd" ]; + # Our disk is slow; don't write to it... services.journald.extraConfig = '' Storage=volatile ''; + systemd.coredump.extraConfig = '' + Storage=none + ProcessSizeMax=0 + ''; system.stateVersion = "21.05"; };