add copyparty to shell PATH
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 1s
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 1s
This commit is contained in:
parent
15c912d324
commit
19ac0c1f66
1 changed files with 4 additions and 0 deletions
|
|
@ -6,7 +6,11 @@
|
|||
url = "https://github.com/9001/copyparty/releases/download/${version}/copyparty-en.py";
|
||||
hash = "sha256-8SBrKaLPat80n8sONKQYFeFSQXUnCYtwcOU7SR52h7E=";
|
||||
};
|
||||
executable = pkgs.writeShellScriptBin "copyparty" ''
|
||||
exec ${python}/bin/python3 ${scriptSrc} "$@"
|
||||
'';
|
||||
in {
|
||||
environment.systemPackages = [ executable ];
|
||||
systemd.services.copyparty = {
|
||||
description = "File Sharing Service";
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue