~ruther/guix-config

6a4c0db106828fb0ac6fc3e57acad6a2d1e89ef6 — Rutherther 5 days ago b31b35a
feat: add early oom with preference on Rust compilation
1 files changed, 6 insertions(+), 0 deletions(-)

M config.scm
M config.scm => config.scm +6 -0
@@ 292,6 292,12 @@
                                                  (local-file "keys/rpi-local-key.pub")))
                                (substitute-urls '("https://substitutes.nonguix.org"))))

              (service earlyoom-service-type
                       (earlyoom-configuration
                        (minimum-available-memory 10)
                        (minimum-free-swap 10)
                        (prefer-regexp "rustc|rust-analyzer|cargo")
                        (avoid-regexp "emacs")))
              polkit-wheel-service
              (simple-service 'dbus-fwupd
                              dbus-root-service-type