aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-12 19:27:17 -0300
committerEuAndreh <eu@euandre.org>2022-08-12 19:27:17 -0300
commit04ae127133b5feef16afdc4035f29f7f43c80da3 (patch)
tree7ff5a22b1b932d16be3a0c6891eed63f1288425d
parentbin/bins: Add helper utility for listing binaries (diff)
downloaddotfiles-04ae127133b5feef16afdc4035f29f7f43c80da3.tar.gz
dotfiles-04ae127133b5feef16afdc4035f29f7f43c80da3.tar.xz
etc/sh/rc: Load noise cancelling in system.scm
-rw-r--r--etc/guix/system.scm11
-rw-r--r--etc/sh/rc1
2 files changed, 11 insertions, 1 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm
index b568d66..dff97aa 100644
--- a/etc/guix/system.scm
+++ b/etc/guix/system.scm
@@ -9,6 +9,7 @@
(gnu services cups)
(gnu services desktop)
(gnu services security-token)
+ (gnu services sound)
(gnu services virtualization)
(gnu services xorg)
(gnu system keyboard)
@@ -98,6 +99,16 @@
EndSection
"#)))))
(modify-services %desktop-services
+ (pulseaudio-service-type config =>
+ (pulseaudio-configuration
+ (inherit config)
+ (extra-script-files
+ (list
+ (plain-file
+ "noise-cancelling.pa"
+ #"-
+ load-module module-echo-cancel
+ "#)))))
(guix-service-type config =>
(guix-configuration
(inherit config)
diff --git a/etc/sh/rc b/etc/sh/rc
index 1838961..ded663b 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -218,7 +218,6 @@ reload() {
rreload() {
reload
- echo 'pactl load-module module-echo-cancel'
xset r rate 225 100 # FIXME: move xorg conf
}