docs: 📝 Update documentation with install instructions
This commit is contained in:
parent
e85ee98412
commit
824caee6ee
22
README.md
22
README.md
@ -1,2 +1,24 @@
|
|||||||
# Nix configuration
|
# Nix configuration
|
||||||
This is my personal Nix configuration. It is a work in progress and is subject to change.
|
This is my personal Nix configuration. It is a work in progress and is subject to change.
|
||||||
|
|
||||||
|
# How to install
|
||||||
|
1. Install nix
|
||||||
|
```bash
|
||||||
|
sh <(curl -L https://nixos.org/nix/install)
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Clone this repository
|
||||||
|
```bash
|
||||||
|
git clone https://gitea.louisgallet.fr/lgallet/nix-config.git ~/.config/nix
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Install the configuration
|
||||||
|
```bash
|
||||||
|
darwin-rebuild switch --flake ~/.config/nix#MBP-Louis
|
||||||
|
```
|
||||||
|
|
||||||
|
# How to update
|
||||||
|
```bash
|
||||||
|
git pull
|
||||||
|
darwin-rebuild switch --flake ~/.config/nix#MBP-Louis
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user