A flake of template flakes. (WIP)
nix flake show 'github:tars0x9752/templates'
Note: We extends official NixOS's templates and their names are prefixed with _
.
nix flake init -t 'github:tars0x9752/templates#<TEMPLATE-NAME-HERE>'
# or
nix flake new <dirName> -t 'github:tars0x9752/templates#<TEMPLATE-NAME-HERE>'
A simple template.
nix flake new project-name -t 'github:tars0x9752/templates#simple'
A NodeJS template with TypeScript.
nix flake new project-name -t 'github:tars0x9752/templates#node'
A PureScript template.
nix flake new project-name -t 'github:tars0x9752/templates#purescript'
A mini haskell template.
nix flake new project-name -t 'github:tars0x9752/templates#haskell-mini'
A full haskell template. (Just a ref to github:srid/haskell-template
)
nix flake new project-name -t 'github:tars0x9752/templates#haskell-srid'
Note: Official NixOS's template names are prefixed with
_
here.
# Usage
nix flake new project-name -t 'github:tars0x9752/templates#_OFFICIAL-TEMPLATE-NAME-HERE'
# For "go-hello" template
nix flake new project-name -t 'github:tars0x9752/templates#_go-hello'