blade: disable coredump writing

This commit is contained in:
Luke Granger-Brown 2021-03-14 17:25:03 +00:00
parent f3c5990de4
commit ff2be56561

View file

@ -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";
};