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