fix(idols-ai): reset camera after resume

This commit is contained in:
Ryan Yin
2026-08-01 10:04:22 +08:00
parent 7826934b23
commit 6264190c49
+7
View File
@@ -2,6 +2,7 @@
disko,
myvars,
lib,
pkgs,
...
}:
#############################################################
@@ -43,6 +44,12 @@ in
services.sunshine.enable = false;
services.tuned.ppdSettings.main.default = lib.mkForce "performance";
powerManagement.resumeCommands = ''
# Insta360 Link may stay enumerated with a stalled UVC endpoint after S3 resume.
${pkgs.coreutils}/bin/sleep 1
${pkgs.usbutils}/bin/usbreset 2e1a:4c01 || true
'';
networking = {
inherit hostName;