From 2810d0a7ebead013daabff77a8cdb19cc621762f Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Thu, 7 Mar 2024 16:38:55 +0100 Subject: [PATCH] Put in earplugs --- config/framework13-system.org | 9 +++++++++ config/framework13-system.scm | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/config/framework13-system.org b/config/framework13-system.org index 33c921d..4a2c9c7 100644 --- a/config/framework13-system.org +++ b/config/framework13-system.org @@ -405,6 +405,15 @@ writable = yes ")))) #+end_src +*** realtime +real-time scheduling for the =realtime= group (sound, supercollider, etc) +#+BEGIN_SRC scheme + (service pam-limits-service-type + (list + (pam-limits-entry "@realtime" 'both 'rtprio 99) + (pam-limits-entry "@realtime" 'both 'memlock 'unlimited))) +#+END_SRC + *** bluetooth #+begin_src scheme (service bluetooth-service-type) diff --git a/config/framework13-system.scm b/config/framework13-system.scm index 1e388b0..abfaec4 100644 --- a/config/framework13-system.scm +++ b/config/framework13-system.scm @@ -1,6 +1,6 @@ ;; -*- mode: scheme; coding: utf-8; -*- ;; -;; tangled from framework13-system.org on 2024-03-07 15:39:01+01:00) +;; tangled from framework13-system.org on 2024-03-07 16:38:09+01:00) (use-modules (gnu) (gnu packages) @@ -265,6 +265,11 @@ browsable = no writable = yes ")))) + (service pam-limits-service-type + (list + (pam-limits-entry "@realtime" 'both 'rtprio 99) + (pam-limits-entry "@realtime" 'both 'memlock 'unlimited))) + (service bluetooth-service-type) (service cups-service-type)