No description
Find a file
2022-12-27 14:50:58 +03:00
pkgs/d2 d2: bump d2plugin-tala to 2.10 version 2022-12-27 14:50:58 +03:00
.gitignore initial commit 2022-11-25 00:15:19 +03:00
flake.lock initial commit 2022-11-25 00:15:19 +03:00
flake.nix refac structure 2022-12-13 17:21:48 +03:00
LICENSE Initial commit 2022-11-25 00:14:45 +03:00
README.md add d2plugin-tala 2022-12-13 14:18:53 +03:00

tools

This repository contains latest version of useful utilities with patches that not included in official repositories.

Usage

As package

nix build git+https://git.pleshevski.ru/mynix/tools#<name>

As one-time executable application

nix run git+https://git.pleshevski.ru/mynix/tools#<name>

Using nix-profile

nix profile install git+https://git.pleshevski.ru/mynix/tools#<name>

As overlay for your flake

{
  inputs.tools.url = "git+https://git.pleshevski.ru/mynix/tools";

  outputs = { nixpkgs, tools }:
    let
      system = builtins.currentSystem;
      overlays = [ tools.overlays.all ];
      pkgs = import nixpkgs { inherit system overlays; };
    in
    {
      devShells = {
        default = pkgs.mkShell {
          # now you can use any tools
          packages = with pkgs; [ d2 ];
        };
      };
    };
}

Note

: For short this url (git+https://git.pleshevski.ru/mynix/tools) will be truncated to . in the document.

d2

D2 is a modern diagram scripting language that turns text to diagrams.

References:

d2: Base d2 cli tool

nix run .#d2 -- --help

[UNFREE] d2full: Full d2 cli tool with d2plugin-tala

NIXPKGS_ALLOW_UNFREE=1 nix run --impure .#d2full -- --help

[UNFREE] d2plugin-tala: A diagram layout engine designed specifically for software architecture diagrams

NIXPKGS_ALLOW_UNFREE=1 nix run --impure .#d2full -- --help