diff options
author | EuAndreh <eu@euandre.org> | 2023-12-13 03:53:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-12-13 03:53:33 -0300 |
commit | 367a0c4d464bbecb46926f14fdf80a55efa14c32 (patch) | |
tree | 42dfdec263e6f5cbf70f89f8553abfb326f5bd1a | |
parent | bin/clean: Fix "if" order (diff) | |
download | dotfiles-367a0c4d464bbecb46926f14fdf80a55efa14c32.tar.gz dotfiles-367a0c4d464bbecb46926f14fdf80a55efa14c32.tar.xz |
etc/guix/system.scm: Enable core dumps by default
Start with no limit on the size of the core dump.
-rw-r--r-- | etc/guix/system.scm | 8 | ||||
-rw-r--r-- | etc/sh/rc | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm index 24a7201..1745130 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -26,6 +26,7 @@ security-token sound ssh + sysctl virtualization vpn web @@ -232,6 +233,13 @@ Seiko Epson Color Ink Jet Printers.") EndSection "#))))) (modify-services %desktop-services + (sysctl-service-type config => + (sysctl-configuration + (inherit config) + (settings + (append + (sysctl-configuration-settings config) + '(("kernel/core_pattern" . "/var/crash/core-%e-%s-%u-%g-%p-%t")))))) (rottlog-service-type config => (rottlog-configuration (inherit config) @@ -3,6 +3,8 @@ export ENV=~/.profile +ulimit -c unlimited + export XDG_DATA_DIRS="$XDG_DATA_HOME/flatpak/exports/share:/var/lib/flatpak/exports/share${XDG_DATA_DIRS:+:}${XDG_DATA_DIRS:-}" |