summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/3dprint.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-12-24 23:58:59 +0100
committermakefu <github@syntax-fehler.de>2022-12-24 23:58:59 +0100
commited1690d79318d61b10a8ea881989a4d2708c9b42 (patch)
treed6f7fb35927b08fe82a4418fd1830384183de65b /makefu/2configs/home/3dprint.nix
parent2f14e6f8426c2b817aa1bcafd4a21e2b977cd64f (diff)
ma home: enable minidlna for testing, cleanup
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 859a1884..09f2ce6f 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 ];