host/home: add octoprint draggable files plugin
This commit is contained in:
parent
2e9aa88efc
commit
2a142a83f6
1 changed files with 14 additions and 1 deletions
|
@ -119,6 +119,19 @@
|
||||||
services.octoprint = {
|
services.octoprint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 33002;
|
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=";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue