diff --git a/head-node.scm b/head-node.scm
index d31b21eae10def154fa703e5ea2b5dda5761b29d..3511aa7bbb3f518d1bf37caf00a9effa5ff04431 100644
--- a/head-node.scm
+++ b/head-node.scm
@@ -1,4 +1,3 @@
-
 ;;; System configuration of "guix-hpc4", the Cuirass head node.
 ;;;
 ;;; This module is part of Guix-HPC and is licensed under the same terms,
@@ -12,7 +11,8 @@
              (srfi srfi-1)
              (srfi srfi-26)
              (ice-9 match))
-(use-service-modules admin avahi certbot cuirass databases mcron networking
+(use-service-modules admin avahi certbot cuirass databases linux
+                     mcron networking
                      ssh virtualization web)
 (use-package-modules certs databases screen ssh web)
 (use-modules ((cuirass-package) #:prefix latest:))
@@ -527,6 +527,10 @@
 
                  (service avahi-service-type)     ;for cuirass-remote-server
 
+                 ;; Don't let bogus jobset evaluations put the machine on its
+                 ;; knees.
+                 (service earlyoom-service-type)
+
                  ;; Stop Cuirass when disk space is low.
                  (service disk-space-watchdog-service-type
                           (list (* 1 GiB) (* 1 GiB))))