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

Commit

Permalink
More packages ported from Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 9, 2020
1 parent dc3ddbf commit 3234f04
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
14 changes: 14 additions & 0 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,35 @@ in {
imports = baseImports;

home.packages = with pkgs; [
adoptopenjdk-bin
bazel
crystal
curl
dhall
direnv
elixir
erlang
fd
fzf
gitAndTools.gh
go
htop
httpie
hugo
jq
minikube
nodejs
packer
python3
ripgrep
ruby
rustup
shards
terraform
tokei
tree
xsv
yarn
youtube-dl
];
}
15 changes: 9 additions & 6 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let
dk = "docker";
k = "kubectl";
szsh = "source $HOME/.zshrc";
reload = "home-manager switch";
};
in {
home.packages = with pkgs; [
Expand All @@ -18,26 +19,28 @@ in {

programs.broot = {
enable = true;
enableFishIntegration = true;
enableZshIntegration = true;
};

programs.fish = {
enable = true;
};

programs.zsh = {
inherit shellAliases;
enable = true;
enableAutosuggestions = true;
history.extended = true;

sessionVariables = {
PATH = "/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$HOME/.nix-profile/bin:$PATH";
EDITOR = "nvim";
GOPATH = "$HOME/go";
};

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
fi # added by Nix installer
# Load environment variables
source ~/.env
'';

oh-my-zsh = {
Expand Down

0 comments on commit 3234f04

Please sign in to comment.