feat(nix): migrate Mac App Store App to Nix

This commit is contained in:
Stefan Imhoff
2024-07-27 14:27:26 +02:00
parent dba8db7dbf
commit 69619d147f
4 changed files with 53 additions and 5 deletions

View File

@@ -5,6 +5,24 @@ This is my folder where I migrate my current dotfile setup to [Nix](https://nixo
> [!WARNING]
> This is a work in progress and I am still learning Nix, so expect things to be broken.
## Install Dependencies
```sh
xcode-select --install
```
## Install Nix
```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```
Add this line to your `/etc/nix/nix.conf` file
```sh
experimental-features = nix-command flakes
```
```sh
# First time install
nix run nix-darwin -- switch --flake ~/.dotfiles/nix