Last active
May 6, 2024 06:14
-
-
Save bscott/0c1be04cb43520ca7453f9cd3ce98f38 to your computer and use it in GitHub Desktop.
Nix Dev Shell Setup
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
{ pkgs ? import <nixpkgs> {} # here we import the nixpkgs package set | |
}: | |
pkgs.mkShell { # mkShell is a helper function | |
name="dev-environment"; # that requires a name | |
buildInputs = [ # and a list of packages | |
pkgs.nodejs | |
pkgs.python3 | |
pkgs.go | |
pkgs.rustc | |
pkgs.wget | |
pkgs.starship | |
pkgs.vim | |
pkgs.gitFull | |
pkgs.kubectl | |
pkgs.kubectx | |
pkgs.kubetail | |
pkgs.zsh | |
pkgs.fish | |
pkgs.zsh-nix-shell | |
pkgs.oh-my-zsh | |
]; | |
shellHook = 'zsh' # bash to run when you enter the shell | |
echo "Default Tools are ready to go..." | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment