Skip to content

Instantly share code, notes, and snippets.

@nathanshelly
Created December 16, 2020 19:27
Show Gist options
  • Save nathanshelly/c2f1ff030c17895fb9330c5c6a696749 to your computer and use it in GitHub Desktop.
Save nathanshelly/c2f1ff030c17895fb9330c5c6a696749 to your computer and use it in GitHub Desktop.
{
description = "sasha's packages";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-20.09-darwin";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, nixpkgs-unstable }:
let
system = "x86_64-darwin";
pkgs = nixpkgs.legacyPackages."${system}";
in {
defaultPackage."${system}" = pkgs.buildEnv {
name = "sasha-packages";
paths = with pkgs; [
# Utilities
bat
exa
fd
nixpkgs-unstable.legacyPackages."${system}".fzf
git
git-lfs
gitAndTools.delta
hyperfine
neovim
ripgrep
rsync
shellcheck
tmux
tree
vim
zsh
# Languages
python3
python38Packages.pip
ruby_2_7
nodejs-14_x
yarn
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment