mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
commit
2a6e2b4581
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ This repo historically contained my dot files. Historically symlinked files on W
|
|||
5. run `mkdir ~/repos`
|
||||
6. run `cd ~/repos`
|
||||
7. run `git clone git@github.com/genebean/dots`
|
||||
8. create keys for [SOPS](https://georgheiler.com/2023/12/01/securing-secrets-with-mozilla-sops-and-age-a-powerful-combo/) via `mkdir -p ~/Library/Application\ Support/sops/age && nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/id_ed25519 > ~/Library/Application\ Support/sops/age/keys.txt && nix run nixpkgs#ssh-to-age -- -i ~/.ssh/id_ed25519.pub >~/Library/Application\ Support/sops/age/pub-keys.txt`
|
||||
8. create keys for [SOPS](https://georgheiler.com/post/sops/) via `mkdir -p ~/Library/Application\ Support/sops/age && nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/id_ed25519 > ~/Library/Application\ Support/sops/age/keys.txt && nix run nixpkgs#ssh-to-age -- -i ~/.ssh/id_ed25519.pub >~/Library/Application\ Support/sops/age/pub-keys.txt`
|
||||
9. run `cat ~/Library/Application\ Support/sops/age/pub-keys.txt |pbcopy`
|
||||
10. edit `.sops.yaml` and:
|
||||
1. paste copied data into a new line under keys
|
||||
|
|
@ -206,7 +206,7 @@ Nix installs and configures Atuin, but you still need to log into the server:
|
|||
### Post-install
|
||||
|
||||
1. clone this repo
|
||||
2. create keys for [SOPS](https://georgheiler.com/2023/12/01/securing-secrets-with-mozilla-sops-and-age-a-powerful-combo/) via `mkdir -p ~/.config/sops/age && nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt && nix run nixpkgs#ssh-to-age -- -i ~/.ssh/id_ed25519.pub > ~/.config/sops/age/pub-keys.txt`
|
||||
2. create keys for [SOPS](https://georgheiler.com/post/sops/) via `mkdir -p ~/.config/sops/age && nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt && nix run nixpkgs#ssh-to-age -- -i ~/.ssh/id_ed25519.pub > ~/.config/sops/age/pub-keys.txt`
|
||||
3. copy output of `~/.config/sops/age/pub-keys.txt`
|
||||
4. add entries to `.sops.yaml`
|
||||
5. run `sops modules/hosts/nixos/$(hostname)/secrets.yaml`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue