Oliver Davies
930473a896
This matches ThePrimeagen's script that mine is based on and that I'll probably switch to in the future. I've added to the Nix store as custom-tmux-sessionizer so it doesn't conflict with the tmux-sessionzer packages that's already in the store.
78 lines
1.1 KiB
Nix
78 lines
1.1 KiB
Nix
{
|
|
desktop,
|
|
inputs,
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
let
|
|
php = pkgs.php82;
|
|
phpPackages = pkgs.php82Packages;
|
|
|
|
inherit (pkgs) writeShellApplication;
|
|
|
|
_timer = writeShellApplication (import ./scripts/_timer.nix);
|
|
deliver = writeShellApplication (import ./scripts/deliver.nix { inherit pkgs; });
|
|
export-video-list = writeShellApplication (
|
|
import ./scripts/export-video-list.nix { inherit pkgs username; }
|
|
);
|
|
run = writeShellApplication (import ./scripts/run.nix { inherit pkgs; });
|
|
timer = writeShellApplication (import ./scripts/timer.nix);
|
|
in
|
|
with pkgs;
|
|
[
|
|
age
|
|
awscli2
|
|
bitwarden-cli
|
|
bottom
|
|
cachix
|
|
ctop
|
|
delta
|
|
devenv
|
|
dog
|
|
doppler
|
|
entr
|
|
fd
|
|
file
|
|
gcc
|
|
gh
|
|
git
|
|
git-crypt
|
|
gnupg
|
|
go
|
|
inotify-tools
|
|
jq
|
|
killall
|
|
lua
|
|
mariadb
|
|
mob
|
|
php
|
|
phpPackages.composer
|
|
pv
|
|
rustywind
|
|
simple-http-server
|
|
sshs
|
|
tldr
|
|
tree
|
|
tree-sitter
|
|
unzip
|
|
virtualenv
|
|
watchexec
|
|
wget
|
|
xclip
|
|
xcp
|
|
xdg-utils
|
|
xh
|
|
yarn
|
|
|
|
# Scripts.
|
|
deliver
|
|
run
|
|
]
|
|
++ pkgs.lib.optionals desktop [
|
|
# Scripts.
|
|
_timer
|
|
export-video-list
|
|
timer
|
|
]
|