diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-06-23 20:15:26 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-06-23 20:16:18 -0600 |
| commit | eb1eedf38ffed3a5446097a87265632cf93f72a1 (patch) | |
| tree | 5f0fcbac4b41a190e050f974e7c6d9253806abfc | |
| parent | 98b81e8f44a52ef70baa8cff864138d11b3ed037 (diff) | |
dmz, hv, sys: disable coredumps
| -rw-r--r-- | sys/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/default.nix b/sys/default.nix index 762abdf..565598c 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -28,10 +28,11 @@ with lib; { ''; }; - # hm-isolation necesita systemd 251 - systemd = mkIf (config.system.nixos.release == "22.05") { - package = pkgs.unstable.systemd; - }; + # Coredumps son un riesgo de seguridad y puden usar mucho disco + systemd.coredump.extraConfig = '' + Storage=none + ProcessSizeMax=0 + ''; time.timeZone = "America/Costa_Rica"; |
