home.go: Added go role
This commit is contained in:
parent
7144947b5d
commit
b41bb668e6
8
roles/home/go.nix
Normal file
8
roles/home/go.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
programs.go.enable = true;
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
GOPATH = "$HOME/.local/share/go";
|
||||||
|
PATH = "$PATH:$GOPATH/bin";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user