hydra: berlin: Add earlyoom service.

* hydra/berlin.scm: Add ‘earlyoom-service-type’ instance.
This commit is contained in:
Ludovic Courtès 2023-12-02 10:55:13 +01:00
parent c250626244
commit 3a633d01b4
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,8 @@
((guix build utils) #:select (find-files))
(srfi srfi-1)
(ice-9 match))
(use-service-modules avahi base databases dns mcron monitoring networking admin
(use-service-modules avahi base databases dns linux
mcron monitoring networking admin
rsync shepherd ssh vpn web)
(use-package-modules admin base certs databases disk emacs linux mail monitoring
screen ssh tls tor vim package-management
@ -509,6 +510,9 @@ An incremental send is attempted if a PARENT snapshot is provided."
(service avahi-service-type
(avahi-configuration (debug? #t)))
;; Don't let greedy processes put the machine to its knees.
(service earlyoom-service-type)
;; Periodically populate the Disarchive database. Store it
;; under /gnu, which is the big drive; talk directly to the
;; local Cuirass instance.