sane-bt-show: port to nix-shell

This commit is contained in:
Colin 2023-05-19 19:52:44 +00:00
parent c662936490
commit ae2e4931f3
2 changed files with 7 additions and 2 deletions

View File

@ -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;

View File

@ -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)