diff --git a/nixos/hosts/home/default.nix b/nixos/hosts/home/default.nix index 1cfcff5..66e9743 100644 --- a/nixos/hosts/home/default.nix +++ b/nixos/hosts/home/default.nix @@ -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="; + }; + }) + ]; }; }