From 38839fd0f8da418b2bf9ebdfb811293a8e44033b Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 1 Feb 2024 15:42:55 -0600 Subject: [PATCH] chore: update go env Signed-off-by: jolheiser --- apps/nogui/go.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"; }; }