Skip to content
/ bin Public

🗑️ Compilation of all my shell scripts

Notifications You must be signed in to change notification settings

joinemm/bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bin

This is a collection of bash scripts I've written over the years for various purposes.

You can find the scripts in ./src.

Nix flake with Resholve dependency solver is provided, including most of the scripts as packages.

The built derivations include any dependencies to other commands in the wrapper, so all scripts can be used as a self contained program.

Usage with nix

You have two options: you can either install these scripts to use them whenever, or run them temporarily with nix.

Install

In flake.nix import the flake as an input:

{
  # ...
  inputs.bin = {
    url = "github:joinemm/bin";
    # may break if your version of nixpkgs differs too much from the one in this repo
    inputs.nixpkgs.follows = "nixpkgs";
  };
}

then you can install scripts like any other package:

{
  environment.systemPackages = [
    inputs.packages.${system}.color
  ];
}

After this, the script is in your path and you can simply run it like any other program:

color

Run without installing

nix run github:joinemm/bin#color

About

🗑️ Compilation of all my shell scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published