Instead of manually downloading the Zim files with a torrent directly, move them into an actual derivation so it can easily be built into the resulting images. Also, write an updater script that can automatically download the files, determine the latest versions for each type and each language, and generate the hash key values for them
22 lines
570 B
Nix
22 lines
570 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
c = pkgs.callPackage;
|
|
in
|
|
{
|
|
packages = {
|
|
#default = iso;
|
|
#iso = top.self.nixosConfigurations.iso.config.system.build.isoImage;
|
|
#iso-beta = self.nixosConfigurations.iso-beta.config.system.build.isoImage;
|
|
aacs = c ./aacs.nix { };
|
|
brew = c ./homebrew.nix { };
|
|
create_ssl = c ./create_ssl.nix { };
|
|
inject-darwin = c ./inject-darwin.nix { };
|
|
inject = c ./inject.nix { };
|
|
hms = c ./hms { };
|
|
setup-ssh = c ./setup-ssh { };
|
|
upgrade-pg-cluster = c ./upgrade-pg-cluster.nix { };
|
|
zim = c ./zim.nix { };
|
|
};
|
|
}
|