Nix command/flake new
From NixOS Wiki
This article is about the nix flake new
subcommand.
Contents
Description
Create a flake in the specified directory from a template.
Usage
$ nix flake new FLAGS... DEST-DIR
Flags
-
--arg NAME EXPR
argument to be passed to Nix functions -
--argstr NAME STRING
string-valued argument to be passed to Nix functions -
--impure
allow access to mutable paths and repositories -
-I
,--include PATH
add a path to the list of locations used to look up <...> file names -
--override-flake ORIGINAL-REF RESOLVED-REF
override a flake registry value -
-t
,--template TEMPLATE
the template to use