improve readme
This commit is contained in:
parent
6c9f1b8a02
commit
c7cc2323e3
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue