mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-04-01 13:02:43 +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)"
|
||||
|
||||
# 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
|
||||
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
|
||||
|
@ -45,7 +45,7 @@
|
||||
e = "nvim";
|
||||
g = "lazygit";
|
||||
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