From 529e47a5fad325f00954fa3780e037ac4be93bc5 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 28 Sep 2022 05:33:08 -0700 Subject: [PATCH] disable the pinephone proximity sensor it's just bad UX. --- machines/moby/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/moby/default.nix b/machines/moby/default.nix index 4f247eb9e..e34510593 100644 --- a/machines/moby/default.nix +++ b/machines/moby/default.nix @@ -53,6 +53,9 @@ # mobile.boot.stage-1.enable = false; # boot.initrd.systemd.enable = false; # boot.initrd.services.swraid.enable = false; # attempt to fix dm_mod stuff + # disable proximity sensor. + # the filtering/calibration is bad that it causes the screen to go fully dark at times. + boot.blacklistedKernelModules = [ "stk3310" ]; # mobile-nixos' /lib/firmware includes: # rtl_bt (bluetooth)