✨ feat(go): Configure go
This commit is contained in:
parent
82b36c590c
commit
6db1648654
2 changed files with 14 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
./gh.nix
|
./gh.nix
|
||||||
|
./go.nix
|
||||||
./hyfetch.nix
|
./hyfetch.nix
|
||||||
./lazygit.nix
|
./lazygit.nix
|
||||||
./less.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