mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-04-02 13:28:13 +00:00
readme
This commit is contained in:
parent
01b26805d5
commit
7958183ebe
10
README.md
10
README.md
@ -10,10 +10,16 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix
|
|||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
|
||||||
# Get repo
|
# Get repo
|
||||||
git clone https://github.com/cupcakearmy/nix-macos ~/.config/nix-darwin
|
git clone https://github.com/cupcakearmy/nix-macos ~/.config/nix-macos
|
||||||
|
|
||||||
|
# Unlock (Given that the base64 key is in your clipboard)
|
||||||
|
nix shell nixpkgs#git nixpkgs#git-crypt nixpkgs#coreutils
|
||||||
|
pbpaste | base64 --decode > .key
|
||||||
|
git-crypt unlock .key
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
nix run nix-darwin -- switch --flake ~/.config/nix-darwin#mbp
|
# Available hosts can be found in the
|
||||||
|
nix run nix-darwin -- switch --flake ~/.config/nix-macos#<host>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Crypt
|
## Crypt
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
e = "nvim";
|
e = "nvim";
|
||||||
g = "lazygit";
|
g = "lazygit";
|
||||||
d = "lazydocker";
|
d = "lazydocker";
|
||||||
vai = "darwin-rebuild switch --flake ~/.config/nix-darwin#${host.hostName}";
|
vai = "darwin-rebuild switch --flake ~/.config/nix-macos#${host.hostName}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user