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

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bin

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

Usage on standard distros

You can find the scripts in ./src.

Usage with Nix

Nix flake is included, which exposes some of the scripts as nix packages. (Many of them have no use on NixOS but are here for legacy reasons)

The built derivations include all of their dependencies in the wrapper path, so all scripts can be used as a self contained program.

You have two options: you can either install these scripts into your system path, or run them with nix run.

Install

In your system flake.nix import the flake as an input:

{
  # ...
  inputs = {
    bin.url = "github:joinemm/bin";
    ... # your other inputs
  };
}

The script packages are exposed under inputs.bin.packages.${system}, and available x86_64-linux and aarch64-linux.

You can install the scripts you need like any other package:

{
  environment.systemPackages = [
    inputs.bin.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