nix-config/README.md

24 lines
500 B
Markdown

# 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
```