Skip to content

Commit

Permalink
📝 readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shelken committed Nov 17, 2024
1 parent 90bf357 commit d19295c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@
## 初始化

```bash
# 0. 如果有用到secrets,将新机器加入secrets.nix
ssh-keygen -t ed25519 -C "shelken@[host]"
cat ~/.ssh/id_ed25519.pub
## 将公钥放到github上

# 1. install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## 将brew命令加入path
eval "$(/opt/homebrew/bin/brew shellenv)"

# 2. install nix
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Expand Down Expand Up @@ -92,6 +99,16 @@ just b

给nix完整的磁盘访问权限

### 安装Homebrew错误?(即使设置http代理)

尝试使用热点数据和使用Quantumult X来代理

### go 编译出错

![](assets/imgs/README_2024-11-16_21-25-22.png)

尝试使用热点数据和使用Quantumult X来代理

# 部署

> 在本地部署其他机器
Expand Down
Binary file added assets/imgs/README_2024-11-16_21-25-22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d19295c

Please sign in to comment.