marleyos/old/home/languages/go.nix

15 lines
208 B
Nix
Raw Normal View History

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