diff --git a/README.md b/README.md index a5e8870..1d2650e 100644 --- a/README.md +++ b/README.md @@ -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 +``` \ No newline at end of file