| Crates.io | devenvious |
| lib.rs | devenvious |
| version | 0.1.1 |
| created_at | 2024-11-20 22:47:21.472395+00 |
| updated_at | 2024-11-21 01:16:51.598914+00 |
| description | Apply & update git-based devenv templates |
| homepage | https://gitlab.com/txlab/dx/devenvious |
| repository | https://gitlab.com/txlab/dx/devenvious |
| max_upload_size | |
| id | 1455421 |
| size | 133,386 |
This tool emerged from my devenv template efforts, and the realization that copying files from a template is not sustainable solution (versions & requirements change, best-practices emerge, ..), so I've come up with the wish to manage devenv templates as a git remote.
This has several advantages:
Basic command: devenvious (alias: dvnv)
If not given a URL, uses a template from our repo (default: basic)
dvnv init [template_name | git_url]
nix shell git+https://gitlab.com/txlab/dx/devenvious.git
Sidenote: git+https scheme as workaround for https://github.com/NixOS/nix/issues/6435#issuecomment-2386419383
nix profile install git+https://gitlab.com/txlab/dx/devenvious.git # git+https scheme as workaround for https://github.com/NixOS/nix/issues/6435#issuecomment-2386419383
flake.nixinputs = {
devenvious = {
type = "gitlab";
owner = "txlab";
repo = "dx%2Fdevenvious"; # https://github.com/NixOS/nix/issues/6435#issuecomment-1902178999
};
};
home.packages = with pkgs; [
inputs.devenvious.packages.${pkgs.system}.default
];