add copyparty to shell PATH
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 1s

This commit is contained in:
Satria 2026-07-19 18:25:26 +07:00
commit 19ac0c1f66

View file

@ -6,7 +6,11 @@
url = "https://github.com/9001/copyparty/releases/download/${version}/copyparty-en.py"; url = "https://github.com/9001/copyparty/releases/download/${version}/copyparty-en.py";
hash = "sha256-8SBrKaLPat80n8sONKQYFeFSQXUnCYtwcOU7SR52h7E="; hash = "sha256-8SBrKaLPat80n8sONKQYFeFSQXUnCYtwcOU7SR52h7E=";
}; };
executable = pkgs.writeShellScriptBin "copyparty" ''
exec ${python}/bin/python3 ${scriptSrc} "$@"
'';
in { in {
environment.systemPackages = [ executable ];
systemd.services.copyparty = { systemd.services.copyparty = {
description = "File Sharing Service"; description = "File Sharing Service";
enable = true; enable = true;