blade: disable coredump writing
This commit is contained in:
parent
f3c5990de4
commit
ff2be56561
1 changed files with 5 additions and 0 deletions
|
@ -150,9 +150,14 @@ in {
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
users.users.lukegb.extraGroups = lib.mkAfter [ "libvirtd" ];
|
users.users.lukegb.extraGroups = lib.mkAfter [ "libvirtd" ];
|
||||||
|
|
||||||
|
# Our disk is slow; don't write to it...
|
||||||
services.journald.extraConfig = ''
|
services.journald.extraConfig = ''
|
||||||
Storage=volatile
|
Storage=volatile
|
||||||
'';
|
'';
|
||||||
|
systemd.coredump.extraConfig = ''
|
||||||
|
Storage=none
|
||||||
|
ProcessSizeMax=0
|
||||||
|
'';
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue