{ inputs = { # nixos-unstable provides a binary cache for all packages. nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # flake-parts lets us define flake modules. flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; }; # import-tree imports all nix files in a given directory. import-tree.url = "github:vic/import-tree"; # files lets us write text files and automatically add checks for them files.url = "github:mightyiam/files"; # make-shells. creates devShells and checks make-shell = { url = "github:nicknovitski/make-shell"; inputs.flake-compat.follows = "dedupe_flake-compat"; }; # The following are not used but are here for deduplication. dedupe_flake-compat.url = "github:edolstra/flake-compat"; }; outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); }