improve readme

This commit is contained in:
Daniella / Tove 2024-10-19 03:40:05 +02:00
parent 6c9f1b8a02
commit c7cc2323e3

View file

@ -1,18 +1,20 @@
# Setup
on formatted drive:
(all in root)
with formatted drive, run:
```sh
nixos-generate-config --root /mnt
cd /mnt/etc/nixos
vim hardware-configuration.nix
```
insert
-> and insert:
```nix
boot.loader.grub.device = "/dev/ d i s k ";
networking.hostName = "TudbuT-Nix m a c h i n e";'
```
quit and:
quit and run:
```sh
nix-shell -p git
rm configuration.nix
@ -23,7 +25,7 @@ bash init.sh
nixos-install
```
on the install:
reboot and run on the install:
```sh
nixos-edit init
```