i am an idiot, i forgot to remove the xdg portal config in configuration.nix on apollo, this broke screensharing

This commit is contained in:
cydiralis 2025-06-27 12:51:38 +01:00
parent d28b00841c
commit 4d2554aae8
No known key found for this signature in database
12 changed files with 418 additions and 35 deletions

View file

@ -163,6 +163,54 @@ ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x1002", ATTR{device}=="0x7362",
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x1002", ATTR{device}=="0x738c", RUN+="/bin/sh -c '/sbin/modprobe vendor-reset; echo device_specific > /sys$env{DEVPATH}/reset_method'"
SUBSYSTEM=="usb", ATTRS{idVendor}=="07ca", ATTRS{idProduct}=="0551", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="07ca", ATTRS{idProduct}=="4710", MODE="0666"
ACTION!="unbind", ACTION!="remove", SUBSYSTEM=="hid", ATTRS{idVendor}=="044f" GOTO="thrustmaster-rules"
GOTO="end"
LABEL="thrustmaster-rules"
DRIVER=="tmff2" GOTO="tmff-new"
DRIVER=="hid-tmff-new" GOTO="tmff-new"
DRIVER=="hid-t150" GOTO="t150"
DRIVER!="t500rs" GOTO="end"
ATTRS{idProduct}=="b65e", DRIVER=="t500rs", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_l>
GOTO="end"
LABEL="tmff-new"
ATTRS{idProduct}=="b66e", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
ATTRS{idProduct}=="b66f", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
ATTRS{idProduct}=="b66d", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
ATTRS{idProduct}=="b696", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
ATTRS{idProduct}=="b692", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
ATTRS{idProduct}=="b689", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_leve>
GOTO="end"
LABEL="t150"
ATTRS{idProduct}=="b677", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain autocenter'"
SUBSYSTEM=="hid", ATTRS{driver}=="hid-t150", ATTR{gain}="100"
ATTRS{idProduct}=="b67f", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain autocenter'"
LABEL="end"
'';
services.udev.extraHwdb = ''
id-input:modalias:input:b0003v054Cp0268*