it worked
This commit is contained in:
parent
e90513a890
commit
549581a69b
1 changed files with 20 additions and 11 deletions
|
|
@ -168,18 +168,27 @@ boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||||
`sudo nixos-install`
|
`sudo nixos-install`
|
||||||
`reboot` and remove start up media
|
`reboot` and remove start up media
|
||||||
|
|
||||||
2. Install and setup nixos
|
|
||||||
|
|
||||||
- nixos config and hardware config
|
|
||||||
- `export HOSTNAME=desired_hostname_for_this_machine`
|
## Impermanence Tips
|
||||||
- `export USERNAME=desired_username_for_admin_on_this_machine` (josh)
|
|
||||||
- `nixos-generate-config --root /mnt`
|
```sh
|
||||||
- `cd /mnt/etc/nixos`
|
sudo mkdir /btrfs_root
|
||||||
- `curl -O --proto '=https' --tlsv1.2 -sSf https://git.joshuabell.xyz/ringofstorms/dotfiles/raw/branch/master/onboard.sh`
|
sudo mount -o subvolid=5,compress=zstd /dev/mapper/cryptroot /btrfs_root
|
||||||
- `chmod +x onboard.sh && ./onboard.sh`
|
```
|
||||||
- verify hardware config, run `nixos-install`
|
|
||||||
- `reboot`
|
|
||||||
- log into USERNAME with `password1`, use `passwd` to change the password
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
> Easiest to ssh into the machine for these steps so you can copy paste...
|
> Easiest to ssh into the machine for these steps so you can copy paste...
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue