summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2019-08-28 15:39:08 +0200
committerLaurent Bachelier <laurent@bachelier.name>2019-08-28 15:39:08 +0200
commita918b6455205fa1d4edfbfed0591b932b9f8415e (patch)
treede5937c0a189d23822ab06c8556bc80acf614ecc
parentEnsure autounmask base files exist (diff)
downloadpublic-dotfiles-a918b6455205fa1d4edfbfed0591b932b9f8415e.tar.xz
Module options for desktops
-rw-r--r--gentoo/modprobe.d/_desktop.conf1
-rw-r--r--gentoo/modprobe.d/desktop.conf.p.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/gentoo/modprobe.d/_desktop.conf b/gentoo/modprobe.d/_desktop.conf
new file mode 100644
index 0000000..6bccd10
--- /dev/null
+++ b/gentoo/modprobe.d/_desktop.conf
@@ -0,0 +1 @@
+options snd_usb_audio nrpacks=1
diff --git a/gentoo/modprobe.d/desktop.conf.p.py b/gentoo/modprobe.d/desktop.conf.p.py
new file mode 100644
index 0000000..6787212
--- /dev/null
+++ b/gentoo/modprobe.d/desktop.conf.p.py
@@ -0,0 +1,4 @@
+if "desktop" in options.tags:
+ redirect("desktop.conf")
+else:
+ ignore()