Configure Nix environment for /data

This commit is contained in:
Elnu 2023-07-25 10:13:51 -07:00
parent e26e3b05cb
commit 917747939b
2 changed files with 13 additions and 0 deletions

1
data/.envrc Normal file
View file

@ -0,0 +1 @@
use nix

12
data/shell.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
buildInputs = with pkgs; [
go
gopls
gnumake
];
shellHook = ''
export PATH="$HOME/go/bin:$PATH"
'';
}