Compare commits

..

4 Commits

Author SHA1 Message Date
7c81981aac Add a fleet of emulators 2024-03-27 12:34:48 +01:00
04eaabf13a Add more aliases 2024-03-27 12:34:40 +01:00
273d0efef8 Add more scripts. 2024-03-27 12:34:35 +01:00
556cdd82ec Add Protontricks 2024-03-27 12:33:52 +01:00
5 changed files with 32 additions and 1 deletions

View File

@ -61,12 +61,18 @@
starsector # Nice little game I got coaxed into trying starsector # Nice little game I got coaxed into trying
inputs.hb-downloader.packages.${pkgs.system}.default # My custom humble bundle bulk link extractor for aria2 list format inputs.hb-downloader.packages.${pkgs.system}.default # My custom humble bundle bulk link extractor for aria2 list format
protonup-qt # Proton ge manager protonup-qt # Proton ge manager
protontricks # Tricks
ungoogled-chromium # For sites that don't work with firefox based browsers ungoogled-chromium # For sites that don't work with firefox based browsers
abcde # CLI audio ripper abcde # CLI audio ripper
jellyfin-mpv-shim # Jellyfin media with mpv jellyfin-mpv-shim # Jellyfin media with mpv
pandoc # I wish I didn't have to use it pandoc # I wish I didn't have to use it
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
(retroarch.override { cores = with libretro; [ snes9x mgba ]; }) (retroarch.override {
cores = with libretro; [ snes9x mgba gambatte ];
}) # Retroarch with cores
duckstation # Playstation 1 emulator
pcsx2 # Playstation 2 emulator
ppsspp-sdl-wayland # Playstation portable emulator
(callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts (callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts
]; ];

View File

@ -18,5 +18,13 @@ stdenv.mkDerivation {
# Add dependencies to the runtime for my blog script # Add dependencies to the runtime for my blog script
wrapProgram $out/bin/blog \ wrapProgram $out/bin/blog \
--prefix PATH : ${lib.makeBinPath [ hugo rsync git ]} --prefix PATH : ${lib.makeBinPath [ hugo rsync git ]}
# Add dependencies to the runtime for my cue2chd script
wrapProgram $out/bin/cue2chd \
--prefix PATH : ${lib.makeBinPath [ mame-tools ]}
# Add dependencies to the runtime for my iso2chd script
wrapProgram $out/bin/iso2chd \
--prefix PATH : ${lib.makeBinPath [ mame-tools ]}
''; '';
} }

View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
for File in *.cue
do
[ -f "$File" ] || continue
chdman createcd -i "$File" -o "${File%.cue}.chd"
rm -v "$File" "${File%.cue}"*.bin
done

View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
for File in *.iso
do
[ -f "$File" ] || continue
chdman createcd -i "$File" -o "${File%.iso}.chd"
rm -v "$File"
done

View File

@ -12,6 +12,7 @@
"cd $(zoxide query --list | fzf --prompt 'Directory: ' -i --reverse --layout=reverse --border=rounded --info=inline --preview 'eza -A --tree -L 1 {}')"; "cd $(zoxide query --list | fzf --prompt 'Directory: ' -i --reverse --layout=reverse --border=rounded --info=inline --preview 'eza -A --tree -L 1 {}')";
gj = '' gj = ''
cd $(find ${config.home.homeDirectory} -name .git -type d -exec dirname {} \; -prune | fzf --prompt "Directory: " -i --reverse --layout=reverse --border=rounded --info=inline --preview "eza -A --tree -L 1 {}")''; cd $(find ${config.home.homeDirectory} -name .git -type d -exec dirname {} \; -prune | fzf --prompt "Directory: " -i --reverse --layout=reverse --border=rounded --info=inline --preview "eza -A --tree -L 1 {}")'';
erm = ''for file in *.zip; do unzip "$file"; rm "$file"; done'';
}; };
envExtra = '' envExtra = ''
# NNN settings # NNN settings