host/home: add octoprint draggable files plugin

This commit is contained in:
Dmitriy Pleshevskiy 2023-11-15 10:36:00 +03:00
parent 2e9aa88efc
commit 2a142a83f6
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -119,6 +119,19 @@
services.octoprint = {
enable = true;
port = 33002;
plugins = ps: [ ps.stlviewer ];
plugins = ps: [
ps.stlviewer
(ps.buildPlugin rec {
pname = "octoprint_draggable_files";
version = "1.1.2";
src = pkgs.fetchFromGitHub {
owner = "SanderRonde";
repo = "Octoprint-Draggable-Files";
rev = version;
sha256 = "sha256-MCi+iLYQ1aVWe9ph+Lu1cGlGFGZ5e3fCp7PQ1lIGPr4=";
};
})
];
};
}