docs: 📝 Update documentation with install instructions

This commit is contained in:
Louis Gallet 2024-12-01 22:07:08 +01:00
parent e85ee98412
commit 824caee6ee
Signed by: lgallet
GPG Key ID: 84D3DF1528A84511

View File

@ -1,2 +1,24 @@
# Nix configuration
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
```