GoForum › 🌐 V2EX
nixos flake 可以使用私有仓库吗
yikyo ·
2026-01-16 12:28 ·
0 次点赞 · 0 条回复
使用命令 nixos-rebuild switch –flake “git+ssh://github/user/nixos-config”
各种方式都试过了,都无法访问仓库
添加 –sudo 参数不行 添加 –use-remote-sudo 不行
使用 NIX_CONFIG=“access-tokens = github.com=ghp_xxx” 不行
但是 ssh -T git@github.com 命令正常
询问 gemini copilot deepseek ,都没结果
是我姿势不对吧,有大佬能教一下吗
0 条回复
添加回复
你还需要 登录
后发表回复