WIP everything
This commit is contained in:
parent
2a23c7fdbe
commit
26f0bde4b3
29 changed files with 1630 additions and 423 deletions
18
README.md
18
README.md
|
@ -95,4 +95,20 @@ just --list
|
|||
1. offline-bitwise copy of drive
|
||||
2. disconnect remove the previous drive
|
||||
3. replace the driveId in the device's hw.nix
|
||||
4. run the `just disk-relabel nix/os/devices/<deviceName> <prevDiskId>` command to rename the filesystem and volume group
|
||||
4. run the `just disk-relabel nix/os/devices/<deviceName> <prevDiskId>` command to rename the filesystem and volume group
|
||||
|
||||
## Rebuilding an offline system
|
||||
|
||||
```
|
||||
(
|
||||
sudo cryptsetup open /dev/sdb3 steveej-t14s-cryptroot
|
||||
sleep 5
|
||||
|
||||
sudo mkdir -p /mnt/root
|
||||
sudo mount /dev/mapper/nvme--WD_BLACK_SN850X_4000GB_2227DT443901-root /mnt/root -o subvol=nixos
|
||||
sudo mount /dev/sdb2 /mnt/root/boot
|
||||
sudo mount /dev/mapper/nvme--WD_BLACK_SN850X_4000GB_2227DT443901-root /mnt/root/home -o subvol=home
|
||||
|
||||
sudo nixos-install -v --flake .#steveej-t14 --root /mnt/root/ --no-root-password
|
||||
)
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue