Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev/modules/_lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ let
url = { };
type = { };
submodules = { };
lfs = { };
owner = { };
repo = { };
path = { };
Expand Down
1 change: 1 addition & 0 deletions docs/src/content/docs/reference/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Each input is declared under `flake-file.inputs.<name>`.
| `flake-file.inputs.<name>.ref` | `str` | Branch or tag pin |
| `flake-file.inputs.<name>.host` | `str` | Custom host for git forges |
| `flake-file.inputs.<name>.submodules` | `bool` | Whether to fetch git submodules |
| `flake-file.inputs.<name>.lfs` | `bool` | Whether to fetch with git LFS support |
| `flake-file.inputs.<name>.flake` | `bool` | Is the input a flake? (default: `true`) |
| `flake-file.inputs.<name>.follows` | `str` | Follow another input's resolved value |
| `flake-file.inputs.<name>.inputs.<dep>.follows` | `str` | Nested transitive follow |
Expand Down
5 changes: 5 additions & 0 deletions modules/options/inputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ let
default = null;
type = lib.types.nullOr lib.types.bool;
};
lfs = lib.mkOption {
description = "Whether to checkout with git LFS support";
default = null;
type = lib.types.nullOr lib.types.bool;
};
owner = lib.mkOption {
description = "owner of the repository";
default = "";
Expand Down
1 change: 1 addition & 0 deletions modules/options/style.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ in
"rev"
"ref"
"submodules"
"lfs"
"flake"
"follows"
"inputs"
Expand Down
Loading