aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-08-18 17:46:03 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-08-18 17:46:03 +0200
commit21749c57958e7273f411dd65cebf29f82984498a (patch)
tree7375ed9dd9600b07f74d0646393aab8b6715a443
parentf76cc378ffddef08878206539374842609bace97 (diff)
downloaddotfiles-21749c57958e7273f411dd65cebf29f82984498a.tar.gz
dotfiles-21749c57958e7273f411dd65cebf29f82984498a.zip
feat(go): set GOPRIVATE for sokkel.dev private modules
-rw-r--r--modules/home/default.nix4
1 files changed, 4 insertions, 0 deletions
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; [