mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2024-12-22 08:16:31 +00:00
add readme
This commit is contained in:
parent
0e6ea24079
commit
e0a1f04b0f
17
README.md
Normal file
17
README.md
Normal file
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user