Update the readme
This commit is contained in:
parent
8d7fbd74b5
commit
d7184174cd
10
README.md
10
README.md
@ -84,13 +84,15 @@ Each host contains a `configuration.nix` for system-level configuration, a `home
|
||||
|
||||
## Installation
|
||||
|
||||
1. Clone the repo
|
||||
|
||||
```sh
|
||||
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||
```
|
||||
|
||||
- Copy the `hosts/laptop` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||
- Add your `hardware-configuration.nix` to your new host's folder
|
||||
- Add your 'nixosConfigurations' inside `flake.nix`
|
||||
2. Copy the `hosts/laptop` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||
3. Add your `hardware-configuration.nix` to your new host's folder
|
||||
4. Add your 'nixosConfigurations' inside `flake.nix`
|
||||
|
||||
> [!INFO]
|
||||
> I added few `# CHANGEME` comments in the files to help you find what to change. Be sure to check them up
|
||||
@ -98,6 +100,8 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||
> [!NOTE]
|
||||
> When you add new files, don't forget to run `git add .` to add them to the git repository
|
||||
|
||||
5. Build the system
|
||||
|
||||
```sh
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||
```
|
||||
|
@ -74,13 +74,15 @@ Each host contains a `configuration.nix` for system-level configuration, a `home
|
||||
|
||||
## Installation
|
||||
|
||||
1. Clone the repo
|
||||
|
||||
```sh
|
||||
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||
```
|
||||
|
||||
- Copy the `hosts/laptop` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||
- Add your `hardware-configuration.nix` to your new host's folder
|
||||
- Add your 'nixosConfigurations' inside `flake.nix`
|
||||
2. Copy the `hosts/laptop` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||
3. Add your `hardware-configuration.nix` to your new host's folder
|
||||
4. Add your 'nixosConfigurations' inside `flake.nix`
|
||||
|
||||
> [!INFO]
|
||||
> I added few `# CHANGEME` comments in the files to help you find what to change. Be sure to check them up
|
||||
@ -88,6 +90,8 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||
> [!NOTE]
|
||||
> When you add new files, don't forget to run `git add .` to add them to the git repository
|
||||
|
||||
5. Build the system
|
||||
|
||||
```sh
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user