summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r--makefu/2configs/hw/cdrip.nix7
-rw-r--r--makefu/2configs/hw/pseyecam.nix6
-rw-r--r--makefu/2configs/hw/tp-x2x0.nix2
3 files changed, 14 insertions, 1 deletions
diff --git a/makefu/2configs/hw/cdrip.nix b/makefu/2configs/hw/cdrip.nix
new file mode 100644
index 00000000..1c0bf9c1
--- /dev/null
+++ b/makefu/2configs/hw/cdrip.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+{
+ users.users.makefu = {
+ extraGroups = [ "cdrom" ];
+ packages = [ pkgs.glyr pkgs.abcde ];
+ };
+}
diff --git a/makefu/2configs/hw/pseyecam.nix b/makefu/2configs/hw/pseyecam.nix
new file mode 100644
index 00000000..029ee7c9
--- /dev/null
+++ b/makefu/2configs/hw/pseyecam.nix
@@ -0,0 +1,6 @@
+# https://bugzilla.kernel.org/show_bug.cgi?id=198129
+{
+ boot.extraModprobeConfig = ''
+ options snd_usb_audio ignore_ctl_error=1
+ '';
+}
diff --git a/makefu/2configs/hw/tp-x2x0.nix b/makefu/2configs/hw/tp-x2x0.nix
index 8d3e17c7..bbed3f43 100644
--- a/makefu/2configs/hw/tp-x2x0.nix
+++ b/makefu/2configs/hw/tp-x2x0.nix
@@ -37,7 +37,7 @@
emulateWheel = true;
};
- services.tlp.enable = true;
+ services.tlp.enable = ! config.services.power-profiles-daemon.enable;
services.tlp.settings = {
# BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery
START_CHARGE_THRESH_BAT0 = 95;