Update README.md With the \ I got sudo not found Jerry doesn't have a \ on his keyboard so he had to do in separate commands Also added VIM since nano is terrible

This commit is contained in:
dwilliam62 2024-02-12 06:30:27 +00:00
parent f4c143795e
commit 41eeb28e87

View File

@ -13,7 +13,7 @@ If you want to learn more about my system, [this project has a Wiki](https://git
- Run this command to ensure Git is installed:
```
nix-shell -p git
nix-shell -p git vim
```
- Clone this repo & enter it:
@ -34,8 +34,9 @@ nixos-generate-config --show-hardware-config > hardware.nix
- Run this to enable flakes and install the flake:
```
NIX_CONFIG="experimental-features = nix-command flakes" \
sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix
NIX_CONFIG="experimental-features = nix-command flakes"
sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix
```
Now when you want to rebuild the configuration you have access to an alias called flake-rebuild that will rebuild the flake based of the flakeDir variable you set in options.nix!