docs: update bootstrap with correct repo paths
This commit is contained in:
parent
1b1069996f
commit
5e1a7a173b
1 changed files with 7 additions and 5 deletions
|
|
@ -31,9 +31,9 @@ cd ~/repos/nix-config
|
|||
|
||||
```bash
|
||||
# если есть приватная репа с зашифрованным gpg ключом
|
||||
git clone https://git.iscg.dev/mikl/gpg-secrets.git /tmp/gpg-setup
|
||||
gpg --import /tmp/gpg-setup/gpg-private.asc
|
||||
rm -rf /tmp/gpg-setup
|
||||
git clone https://git.iscg.dev/mikl/gpg.git ~/tmp/gpg
|
||||
gpg --import /tmp/gpg/private.asc
|
||||
rm -rf ~/tmp/gpg
|
||||
|
||||
# проверить
|
||||
gpg --list-secret-keys mikl@iscg.dev
|
||||
|
|
@ -64,16 +64,17 @@ sudo nixos-rebuild switch --flake .#muscari
|
|||
|
||||
```bash
|
||||
# если есть существующий password store
|
||||
git clone https://git.iscg.dev/mikl/password-store.git ~/.password-store
|
||||
git clone https://git.iscg.dev/mikl/pass.git ~/.password-store
|
||||
cd ~/.password-store && git remote remove origin && git remote add origin https://git.iscg.dev/mikl/password-store.git
|
||||
|
||||
# если создаёшь с нуля
|
||||
pass init <gpg-key-id> # id от gpg --list-secret-keys
|
||||
pass git init
|
||||
pass git remote add origin https://git.iscg.dev/mikl/password-store.git
|
||||
pass git remote add origin https://git.iscg.dev/mikl/pass.git
|
||||
```
|
||||
|
||||
после этого работают алиасы:
|
||||
|
||||
```bash
|
||||
pass-sync # = pass git push
|
||||
pass-pull # = pass git pull
|
||||
|
|
@ -89,6 +90,7 @@ pass-status # = pass git status
|
|||
3. **Change All...** → подтвердить
|
||||
|
||||
для каких файлов:
|
||||
|
||||
- `.url`, `.xhtml` → Chrome
|
||||
- `.sh` → kitty
|
||||
- `.pdf` → Skim
|
||||
|
|
|
|||
Loading…
Reference in a new issue