This Project provides Datalad related packages, an overlay, and modules for the use of Datalad with Nix and on NixOS.
inputs = {
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
datalad-nix = {
url = "git+https://codeberg.org/malik/datalad-nix.git";
inputs.nixpkgs-unstable.follows = "nixpkgs-unstable";
};
};
- Add the module to your configuration.
modules = [
datalad-nix.modules.default # or 'homeManager' instead of default for home-manager
./configuration.nix
];
- Enable the datalad and its extensions.
programs.datalad = {
enable = true;
unstable = false;
extensions.datalad-container.enable = true;
};
Adding the overlay to your lists of overlays.
nixpkgs.overlays = [
datalad-nix.overlay.default
];
The additional packages should now be available under pkgs
.
Please read the contributing guidelines before contributing. PRs and issues are always welcome. Needed tasks can be found in the Agenda, for example adding additional modules.