Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Moar packages stolen from Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 9, 2020
1 parent 3234f04 commit 5276e3b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ in {
pull.rebase = "false";
};
};
}
}
10 changes: 10 additions & 0 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,40 @@ in {

home.packages = with pkgs; [
adoptopenjdk-bin
bash
bat
bazel
crystal
curl
dhall
direnv
elixir
erlang
exa
fd
fzf
gitAndTools.delta
gitAndTools.gh
go
htop
httpie
hugo
jq
kubectl
kubectx
linkerd
minikube
nodejs
packer
python3
python38Packages.pip
ripgrep
ruby
rustup
shards
skaffold
terraform
tilt
tokei
tree
xsv
Expand Down
20 changes: 10 additions & 10 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ let
dk = "docker";
k = "kubectl";
szsh = "source $HOME/.zshrc";
reload = "home-manager switch";
reload = "home-manager switch && szsh";
garbage = "nix-collect-garbage";
};
in {
home.packages = with pkgs; [
bat
exa
];

programs.broot = {
enable = true;
enableFishIntegration = true;
Expand All @@ -31,16 +27,20 @@ in {
inherit shellAliases;
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
history.extended = true;

initExtra = ''
if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then
. ~/.nix-profile/etc/profile.d/nix.sh;
export NIX_PATH=$HOME/.nix-defexpr/channels''${NIX_PATH:+:}$NIX_PATH
. ~/.nix-profile/etc/profile.d/nix.sh;
export NIX_PATH=$HOME/.nix-defexpr/channels''${NIX_PATH:+:}$NIX_PATH
fi # added by Nix installer
# Load environment variables
source ~/.env
# Load environment variables; this approach allows me to not commit secrets
# like API keys and such
if [ -e ~/.env ]; then
source ~/.env
fi
'';

oh-my-zsh = {
Expand Down

0 comments on commit 5276e3b

Please sign in to comment.