Remove old scripts
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
586ed07ff0
commit
471bd8ca54
9 changed files with 0 additions and 86 deletions
|
@ -23,15 +23,12 @@ in
|
|||
import-to-jellyfin = callPackage ./import-to-jellyfin.nix { };
|
||||
mounter = callPackage ./mounter.nix { };
|
||||
move-firefox-screenshots = callPackage ./move-firefox-screenshots.nix { };
|
||||
notes = callPackage ./notes { };
|
||||
passmenu-otp = callPackage ./passmenu-otp.nix { };
|
||||
set-background = callPackage ./set-background.nix { };
|
||||
tag-release = callPackage ./tag-release.nix { };
|
||||
time-until = callPackage ./time-until.nix { };
|
||||
timer = callPackage ./timer.nix { };
|
||||
tmux-sessionizer = callPackage ./tmux-sessionizer { };
|
||||
todos-add = callPackage ./todos-add.nix { };
|
||||
todos-edit = callPackage ./todos-edit.nix { };
|
||||
unmounter = callPackage ./unmounter.nix { };
|
||||
update-all-git-repos = callPackage ./update-all-git-repos.nix { };
|
||||
vic = callPackage ./vic.nix { inherit inputs; };
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "notes";
|
||||
version = "unstable-2024-12-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nickjj";
|
||||
repo = "notes";
|
||||
rev = "f4f0aab865c19132484a2c3998cd984bdb3b9514";
|
||||
sha256 = "sha256-y5SkS+22tW9wf3gH26NHSnrnJ0rkBWSgKvansP8Hlbg=";
|
||||
};
|
||||
|
||||
buildInputs = [ bash ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp notes $out/bin/notes
|
||||
chmod +x $out/bin/notes
|
||||
'';
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "todos-add";
|
||||
|
||||
runtimeInputs = with pkgs; [ coreutils ];
|
||||
|
||||
text = ''
|
||||
TODOS_PATH="$HOME/Documents/wiki/todo.txt"
|
||||
|
||||
if [ ''${#} -eq 0 ]; then
|
||||
if [ -p "/dev/stdin" ]; then
|
||||
(cat; printf "\n\n") >> "''${TODOS_PATH}"
|
||||
else
|
||||
eval "''${TODOS_EDITOR}" "''${TODOS_PATH}"
|
||||
fi
|
||||
else
|
||||
printf "%s\n\n" "''${*}" >> "''${TODOS_PATH}"
|
||||
fi
|
||||
'';
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "todos-edit";
|
||||
|
||||
text = ''
|
||||
exec "$EDITOR" "$HOME/Documents/wiki/todo.txt"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue