mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-22 16:13:26 +01:00
fix: use 'hx' to start the Helix editor
This commit is contained in:
parent
162d551002
commit
19ba6f35af
@ -197,7 +197,7 @@ Then update `configuration.nix` to install `helix` from the input `helix`:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
To deploy the changes, run `sudo nixos-rebuild switch`. Then start the Helix editor by running the `helix` command.
|
To deploy the changes, run `sudo nixos-rebuild switch`. Then start the Helix editor by running the `hx` command.
|
||||||
|
|
||||||
## Add Custom Cache Mirror
|
## Add Custom Cache Mirror
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ cat flake.nix
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
改好后再 `sudo nixos-rebuild switch` 部署,就能安装好 helix 程序了,可直接在终端使用 `helix` 命令测试验证。
|
改好后再 `sudo nixos-rebuild switch` 部署,就能安装好 helix 程序了,可直接在终端使用 `hx` 命令测试验证。
|
||||||
|
|
||||||
## 为 Flake 添加国内 cache 源 {#add-cache-source-for-flake}
|
## 为 Flake 添加国内 cache 源 {#add-cache-source-for-flake}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user