nixos flake 可以使用私有仓库吗

查看 4|回复 0
作者:yikyo   
使用命令 nixos-rebuild switch --flake "git+ssh://github/user/nixos-config"
各种方式都试过了,都无法访问仓库
添加 --sudo 参数不行
添加 --use-remote-sudo 不行
使用 NIX_CONFIG="access-tokens = github.com=ghp_xxx" 不行
但是 ssh -T [email protected] 命令正常
询问 gemini copilot deepseek ,都没结果
是我姿势不对吧,有大佬能教一下吗
您需要登录后才可以回帖 登录 | 立即注册

返回顶部