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