Files
nixos/pkgs/aacs.nix
T
Greg Hellings 6a3f482792 Continue moving personal packages from overlays
Continue moving out of the overlay model for everything and into running
sutff directly out of the packages. This should give a cleaner
separation of the things that I don't need to maintain separately
2024-10-11 12:58:03 -05:00

15 lines
426 B
Nix

{ writeShellApplication, unzip, ... }:
writeShellApplication {
name = "aacs";
runtimeInputs = [ unzip ];
text = ''
[ ! -d "''${HOME}/.config/aacs" ] && mkdir -p "''${HOME}/.config/aacs"
cd "''${HOME}/.config/aacs"
[ -f KEYDB.cfg.zip ] && rm -f KEYDB.cfg.zip
curl -L -o KEYDB.cfg.zip "http://fvonline-db.bplaced.net/fv_download.php?lang=eng"
unzip KEYDB.cfg.zip
mv keydb.cfg KEYDB.config
'';
}