mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-24 14:02:07 +02:00
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:
parent
f4c143795e
commit
41eeb28e87
@ -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:
|
- Run this command to ensure Git is installed:
|
||||||
|
|
||||||
```
|
```
|
||||||
nix-shell -p git
|
nix-shell -p git vim
|
||||||
```
|
```
|
||||||
|
|
||||||
- Clone this repo & enter it:
|
- 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:
|
- Run this to enable flakes and install the flake:
|
||||||
|
|
||||||
```
|
```
|
||||||
NIX_CONFIG="experimental-features = nix-command flakes" \
|
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||||
sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix
|
|
||||||
|
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!
|
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!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user