3dprint: prepare klipper

This commit is contained in:
makefu 2024-01-18 01:16:35 +01:00
parent ba1565adba
commit 07ddbb9499
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
3 changed files with 29 additions and 2 deletions

View file

@ -2,7 +2,10 @@
let
dev = "/dev/web_cam";
in
{
{
imports = [
./klipper.nix
];
services.mjpg-streamer = {
enable = true;
# new camera

View file

@ -0,0 +1,24 @@
{
services.moonraker = {
enable = true;
address = "0";
settings = {
octoprint_compat = {};
history = {};
};
};
services.fluidd.enable = true;
services.fluidd.nginx.locations."/webcam".proxyPass = "http://127.0.0.1:8080/stream";
services.nginx.clientMaxBodySize = "1000m";
services.klipper = {
enable = true;
firmwares = {
artillery = {
enable = true;
};
};
};
}

View file

@ -6,7 +6,7 @@ in {
./hardware-config.nix
../../2configs
../../2configs/home-manager
../../2configs/home/3dprint.nix
../../2configs/home/3dprint/
#./hardware-config.nix
{ environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
# ../../2configs/tools/core.nix