marleyos/home/languages/go.nix

15 lines
208 B
Nix
Raw Normal View History

2024-11-04 00:33:13 +00:00
{ config, ... }:
{
programs.go = {
enable = true;
};
2024-11-04 02:48:30 +00:00
home.sessionPath =
let
goPath = config.programs.go.goPath;
in
[
"${if (goPath == null) then "go" else goPath}"
];
2024-11-04 00:33:13 +00:00
}