sane-bt-show: port to nix-shell
This commit is contained in:
parent
c662936490
commit
ae2e4931f3
|
@ -49,7 +49,6 @@ let
|
|||
sops
|
||||
sudo
|
||||
systemd
|
||||
transmission
|
||||
util-linux
|
||||
which
|
||||
];
|
||||
|
@ -124,6 +123,11 @@ let
|
|||
src = ./src;
|
||||
pyPkgs = [ "natsort" "requests" ];
|
||||
};
|
||||
bt-show = static-nix-shell.mkBash {
|
||||
pname = "sane-bt-show";
|
||||
src = ./src;
|
||||
pkgs = [ "transmission" ];
|
||||
};
|
||||
date-math = static-nix-shell.mkPython3Bin {
|
||||
pname = "sane-date-math";
|
||||
src = ./src;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p transmission
|
||||
|
||||
endpoint=https://bt.uninsane.org/transmission/rpc
|
||||
PASS=$(sudo cat /run/secrets/transmission_passwd)
|
||||
|
|
Loading…
Reference in New Issue
Block a user