mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
fix: docs & /boot
This commit is contained in:
1 parent
9dcafa8cc9
commit
3561426a11
2 files changed
+11
-7
No files matched your search
@@ -223,7 +223,7 @@ Clone this repository:
|
||||
|
||||
```bash
|
||||
# enter an shell with git/vim/ssh-agent/gnumake available
|
||||
nix-shell -p git neovim just --option substituters "https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||
nix-shell -p git neovim --option substituters "https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||
|
||||
# clone this repository
|
||||
git clone https://github.com/ryan4yin/nix-config.git
|
||||
@@ -287,7 +287,7 @@ cp -r ../nix-config /mnt/etc/nixos
|
||||
# sync the disk, unmount the partitions, and close the encrypted device
|
||||
sync
|
||||
swapoff /mnt/swap/swapfile
|
||||
umount -R /mnt
|
||||
umount -R /mnt/{nix,tmp,swap,persistent,snapshots,boot}
|
||||
cryptsetup close /dev/mapper/crypted-nixos
|
||||
reboot
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user