aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/euandre/packages.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/org/euandre/packages.scm b/src/org/euandre/packages.scm
index b014c00..f4de7c6 100644
--- a/src/org/euandre/packages.scm
+++ b/src/org/euandre/packages.scm
@@ -131,7 +131,8 @@
(use-service-modules
admin
mcron
- shepherd)
+ shepherd
+ sysctl)
@@ -598,6 +599,9 @@
(link "../../etc/id_rsa.pub" "/root/.ssh/id_rsa.pub")
(link "../../etc/known_hosts" "/root/.ssh/known_hosts")))))
+(define-public (syskeep-sysctl _config)
+ '(("kernel/core_pattern" . "/var/crash/core-%t-%e-%p-%s-%u-%g")))
+
(define-public syskeep-sudoers-file
(plain-file "sudoers-syskeep" "\
root ALL=(ALL) ALL
@@ -621,6 +625,8 @@ root ALL=(ALL) ALL
syskeep-accounts)
(service-extension activation-service-type
syskeep-activation)
+ (service-extension sysctl-service-type
+ syskeep-sysctl)
(service-extension profile-service-type
syskeep-profile)))
(default-value (syskeep-configuration))