Compare commits
No commits in common. "51c5578840e7b5f0f87aa67e1249d98870565c53" and "198e7188bd0964b54604f07b2387d3a2ffd6dfb4" have entirely different histories.
51c5578840
...
198e7188bd
@ -75,8 +75,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
@ -43,38 +43,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
|
||||||
mjpg-streamer = {
|
|
||||||
enable = true;
|
|
||||||
inputPlugin = "input_uvc.so";
|
|
||||||
outputPlugin = "output_http.so -w @www@ -n -p 5050";
|
|
||||||
};
|
|
||||||
octoprint = {
|
|
||||||
enable = true;
|
|
||||||
host = "::";
|
|
||||||
extraConfig = {
|
|
||||||
plugins = {
|
|
||||||
classicwebcam = {
|
|
||||||
snapshot = "http://${config.networking.fqdn}:5050/?action=snapshot";
|
|
||||||
stream = "http://${config.networking.fqdn}:5050/?action=stream";
|
|
||||||
streamRatio = "4:3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
serial = {
|
|
||||||
port = "/dev/ttyACM0";
|
|
||||||
baudrate = 115200;
|
|
||||||
};
|
|
||||||
temperature.profiles = [
|
|
||||||
{
|
|
||||||
bed = 60;
|
|
||||||
extruder = 215;
|
|
||||||
name = "PLA";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
netdevs = {
|
netdevs = {
|
||||||
"25-lan" = {
|
"25-lan" = {
|
||||||
|
@ -539,7 +539,6 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
(persistSimpleSvc "octoprint")
|
|
||||||
]))
|
]))
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user