A layer on top of the NixOS module system to make some tasks simpler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 326B

123456789101112131415161718
  1. { pkgs ? import <nixpkgs> {}
  2. }:
  3. with pkgs.lib;
  4. let
  5. callPackage = f:
  6. let json = removeAttrs (importJSON f) ["date"];
  7. in callPackageWith attrs "${pkgs.fetchgit json}/default.nix";
  8. attrs = {
  9. inherit pkgs;
  10. # Useful backup scripts.
  11. backup-scripts = callPackage ./backup-scripts.json { };
  12. };
  13. in attrs