diff --git a/apps/nogui/go.nix b/apps/nogui/go.nix index 264945e..6846cc1 100644 --- a/apps/nogui/go.nix +++ b/apps/nogui/go.nix @@ -1,7 +1,9 @@ -{config, ...}: { - programs.go = rec { +let + goPath = ".local/share/go"; +in { + programs.go = { enable = true; - goPath = "${config.xdg.dataHome}/go"; + goPath = goPath; goBin = "${goPath}/bin"; }; }