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
- Run without installing
nix run github:qrxnz/nxt- Add to a Nix Flake
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 ];
}- Install imperatively
nix profile install github:qrxnz/nxtRun the command from your terminal:
nxtTo Thomas Wehmöller for the nix-templates