Add envrc and shell.nix

This commit is contained in:
Aaron Bieber 2022-11-04 09:36:33 -06:00
parent e88573fbeb
commit 36c461970c
No known key found for this signature in database
2 changed files with 13 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use_nix

12
shell.nix Normal file
View File

@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
shellHook = ''
export NO_COLOR=true
export PS1="\u@\h:\w; "
'';
nativeBuildInputs = with pkgs.buildPackages; [
go
go-tools
];
}