✨ feat(go): Configure go
This commit is contained in:
parent
fc0b9e3d13
commit
0db80951a2
2 changed files with 14 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
./fish.nix
|
||||
./fzf.nix
|
||||
./gh.nix
|
||||
./go.nix
|
||||
./hyfetch.nix
|
||||
./lazygit.nix
|
||||
./less.nix
|
||||
|
|
13
home/programs/go.nix
Normal file
13
home/programs/go.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
programs.go = {
|
||||
enable = true;
|
||||
|
||||
# Set this explicitly to avoid errors for the sessionPath.
|
||||
goPath = "go";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
"${config.programs.go.goPath}"
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue