Simple wrapper for nix-templates created using nix & charmbracelet's gum
nxt
was created to facilitate the creation of projects using nix-templates
asdfgg.mp4
nix run github:qrxnz/nxt
Add input in your flake like:
{
inputs = {
nxt = {
url = "github:qrxnz/nxt";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}
With the input added you can reference it directly:
{ inputs, system, ... }:
{
# NixOS
environment.systemPackages = [ inputs.nxt.packages.${pkgs.system}.default ];
# home-manager
home.packages = [ inputs.nxt.packages.${pkgs.system}.default ];
}
or
You can install this package imperatively with the following command
nix profile install github:qrxnz/nxt
To Thomas Wehmöller for the nix-templates