-
-
Save tbenst/0e2c7bd0219eda87e3915182071f224b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self: super: | |
{ | |
# Install overlay: | |
# > mkdir -p .config/nixpkgs/overlays | |
# # use ? to avoid caching | |
# > curl -L "https://gist.github.com/tbenst/0e2c7bd0219eda87e3915182071f224b/raw?$(date +%s%N)" -o ~/.config/nixpkgs/overlays/tb.nix | |
# > nix-env -f '<nixpkgs>' -r -iA userPackages | |
userPackages = super.userPackages or {} // { | |
hello = self.hello; | |
nix = self.nix; | |
hexchat = self.hexchat; | |
fzf = self.fzf; | |
ripgrep = self.ripgrep; | |
atom = self.atom; | |
nix-rebuild = super.writeScriptBin "nix-rebuild" | |
'' | |
#!${super.stdenv.shell} | |
curl -L "https://gist.github.com/tbenst/0e2c7bd0219eda87e3915182071f224b/raw?$(date +%s%N)" -o ~/.config/nixpkgs/overlays/tb.nix | |
exec nix-env -f '<nixpkgs>' -r -iA userPackages "$@" | |
''; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment