From 21749c57958e7273f411dd65cebf29f82984498a Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Tue, 18 Aug 2026 17:46:03 +0200 Subject: feat(go): set GOPRIVATE for sokkel.dev private modules --- modules/home/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/home/default.nix') diff --git a/modules/home/default.nix b/modules/home/default.nix index f82d139..cd48122 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -21,6 +21,10 @@ ); # Do not change this after the first installation stateVersion = "24.11"; + + # Fetch private Go modules directly via git (ssh) instead of the public + # proxy/checksum DB. Matches the sokkel.dev https->ssh rewrite in git.nix. + sessionVariables.GOPRIVATE = "sokkel.dev"; }; home.packages = with pkgs; [ -- cgit v1.3.1