pinwheel: Fix go ENV variables

This commit is contained in:
Alexander Heldt
2025-10-07 14:35:37 +02:00
parent 5db42c1ca9
commit d518832836
2 changed files with 6 additions and 2 deletions

View File

@@ -20,7 +20,9 @@ in
enable = true;
package = pkgs.go;
goPath = "code/go";
env = {
GOPATH = "code/go";
};
};
home.packages = [

View File

@@ -37,7 +37,9 @@ in
];
programs.go = lib.mkIf goEnabled {
goPrivate = [ "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-go-private.path})" ];
env = {
GOPRIVATE = [ "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-go-private.path})" ];
};
};
programs.git = lib.mkIf gitEnabled {