home.go: Added go role

This commit is contained in:
Giulio De Pasquale 2023-03-03 09:43:59 -08:00
parent 7144947b5d
commit b41bb668e6

8
roles/home/go.nix Normal file
View File

@ -0,0 +1,8 @@
{ config, pkgs, lib, ... }: {
programs.go.enable = true;
home.sessionVariables = {
GOPATH = "$HOME/.local/share/go";
PATH = "$PATH:$GOPATH/bin";
};
}