summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/3dprint.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-25 01:24:17 +0100
committerlassulus <lassulus@lassul.us>2022-12-25 01:24:17 +0100
commit6e13334579f16940edb1182662d9ac58e57aba0e (patch)
tree3bb4d0b836487af026ea7daa770e789717ba1cf6 /makefu/2configs/home/3dprint.nix
parentc337e2593b9b28c4248cffc07edf530351df491f (diff)
parent9c46aa4ee078de84deed5ccdd5e6aaa6c4ea41ad (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/home/3dprint.nix')
-rw-r--r--makefu/2configs/home/3dprint.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefu/2configs/home/3dprint.nix b/makefu/2configs/home/3dprint.nix
index 859a18840..09f2ce6fd 100644
--- a/makefu/2configs/home/3dprint.nix
+++ b/makefu/2configs/home/3dprint.nix
@@ -9,7 +9,7 @@
# also ensure that the webcam always comes up under the same name
services.udev.extraRules = ''
SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"
- SUBSYSTEM=="video4linux", ATTR{name}=="UVC Camera (046d:0825)",SYMLINK+="web_cam", MODE="0666", GROUP="video"
+ KERNEL=="video*",ATTRS{vendor}=="0x046d", ATTRS{device}=="0x0825", GROUP="video", SYMLINK+="web_cam"
'';
systemd.services.octoprint = {
path = [ pkgs.libraspberrypi ];