diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-08-18 17:46:03 +0200 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-08-18 17:46:03 +0200 |
| commit | 21749c57958e7273f411dd65cebf29f82984498a (patch) | |
| tree | 7375ed9dd9600b07f74d0646393aab8b6715a443 /modules/home/default.nix | |
| parent | f76cc378ffddef08878206539374842609bace97 (diff) | |
| download | dotfiles-21749c57958e7273f411dd65cebf29f82984498a.tar.gz dotfiles-21749c57958e7273f411dd65cebf29f82984498a.zip | |
feat(go): set GOPRIVATE for sokkel.dev private modules
Diffstat (limited to 'modules/home/default.nix')
| -rw-r--r-- | modules/home/default.nix | 4 |
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; [ |
