summaryrefslogtreecommitdiff
path: root/sys/default.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-06-23 20:15:26 -0600
committerAlejandro Soto <alejandro@34project.org>2024-06-23 20:16:18 -0600
commiteb1eedf38ffed3a5446097a87265632cf93f72a1 (patch)
tree5f0fcbac4b41a190e050f974e7c6d9253806abfc /sys/default.nix
parent98b81e8f44a52ef70baa8cff864138d11b3ed037 (diff)
dmz, hv, sys: disable coredumps
Diffstat (limited to '')
-rw-r--r--sys/default.nix9
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";