From e0a1f04b0f5cc6d860ba4a845026101942d4fe40 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Sun, 17 Nov 2024 14:19:49 +0100 Subject: [PATCH] add readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8268cdb --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Dotfiles with Nix on macOS + +## Installation + +```bash +# Install nix [without the --determinate flag] +curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install + +# Install brew [for casks] +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +# Get repo +git clone https://github.com/cupcakearmy/nix-macos ~/.config/nix-darwin + +# Installation +nix run nix-darwin -- switch --flake ~/.config/nix-darwin#sflx +```