mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-21 22:23:09 +01:00
Create Installation Guide
parent
8a183fd90e
commit
ce492ef2e7
29
Installation-Guide.md
Normal file
29
Installation-Guide.md
Normal file
@ -0,0 +1,29 @@
|
||||
- Run this command to ensure Git is installed:
|
||||
|
||||
```
|
||||
nix-shell -p git vim
|
||||
```
|
||||
|
||||
- Clone this repo & enter it:
|
||||
|
||||
```
|
||||
git clone https://gitlab.com/zaney/zaneyos.git
|
||||
cd zaneyos
|
||||
```
|
||||
|
||||
- *You should stay in this folder for the rest of the install*
|
||||
- Change any options in options.nix as needed.
|
||||
- Generate your hardware.nix like so:
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
### You Are Done!
|
Loading…
Reference in New Issue
Block a user