An import helper for Nix, taken from kittywitch/nixfiles.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-24 21:36:39 -07:00
default.nix feat: flake-compat 2026-03-24 21:28:38 -07:00
flake.lock fix: oops 2026-03-24 21:36:39 -07:00
flake.nix feat: flake-compat 2026-03-24 21:28:38 -07:00
README.md feat: init tree 2022-12-01 20:25:20 +01:00
TODO.md docs: add further to-do items 2023-01-18 08:42:40 -05:00
tree.nix fix: add std to args on tree 2023-02-15 16:05:34 -08:00

Tree

An import helper for Nix, taken from kittywitch/nixfiles.

Usage

  tree = inputs.tree.tree {
    inherit inputs;
    folder = ./.;
    config = {
    };
  };
nix-repl> :p tree
{ config = { "*" = { aliasDefault = false; evaluateDefault = false; excludes = [ ]; functor = { enable = false; excludes = [ ]; external = [ ]; }; }; "/" = { aliasDefault = false; evaluateDefault = false; excludes = [ ]; functor = { enable = false; excludes = [ ]; external = [ ]; }; }; }; impure = { default = "/nix/store/9p6bvdlib089c7zkbxzjzw3lywrqxywp-source/default.nix"; flake = "/nix/store/9p6bvdlib089c7zkbxzjzw3lywrqxywp-source/flake.nix"; }; pure = { default = "/nix/store/9p6bvdlib089c7zkbxzjzw3lywrqxywp-source/default.nix"; flake = "/nix/store/9p6bvdlib089c7zkbxzjzw3lywrqxywp-source/flake.nix"; }; }