From 58a22157f586548b51047849485953865023d4ea Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Tue, 11 Mar 2025 11:30:57 -0700 Subject: [PATCH 1/2] fix: SOPS article url --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c2948f..3835d5d 100644 --- a/README.md +++ b/README.md @@ -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 From 3f9e190facae49bce763005bdef1aebd3373d9ba Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Tue, 11 Mar 2025 11:32:15 -0700 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20the=20other=20SOPS=20article=20url?= =?UTF-8?q?=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3835d5d..b31041b 100644 --- a/README.md +++ b/README.md @@ -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`