add foureighty's age key

This commit is contained in:
Cyryl Płotnicki 2022-07-16 08:34:47 +01:00
parent 29c6df7f37
commit 804fdc0074
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@
# Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml # Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml
# for a more complex example. # for a more complex example.
keys: keys:
- &foureighty-source age1qpxvqf2254vynw7aah2pyd8tm0lqtfqr9maguewdj3uqjp8smqvssjp43n
- &skinnyv-source age1p76577kkfttxxj8ckwwkhyhhz7qq2d7qf2lenyaa0g3v2gd3eecqhhf9jn - &skinnyv-source age1p76577kkfttxxj8ckwwkhyhhz7qq2d7qf2lenyaa0g3v2gd3eecqhhf9jn
- &skinnyv-target age1mpgtj57e256q9nqz8jt0jt9ntxrldu0p7aunxx3y5vnerfz04vqqdst2gt - &skinnyv-target age1mpgtj57e256q9nqz8jt0jt9ntxrldu0p7aunxx3y5vnerfz04vqqdst2gt
- &bolty age1msgz4lzqj3wd4yu3mfgxyl5gz0y94al59njv8fqu7s0dvwt9yuvsctlhvu - &bolty age1msgz4lzqj3wd4yu3mfgxyl5gz0y94al59njv8fqu7s0dvwt9yuvsctlhvu
@ -10,6 +11,7 @@ creation_rules:
- path_regex: /[^/]+\.yaml$ - path_regex: /[^/]+\.yaml$
key_groups: key_groups:
- age: - age:
- *foureighty-source
- *skinnyv-source - *skinnyv-source
- *skinnyv-target - *skinnyv-target
- *bolty - *bolty

View file

@ -145,6 +145,7 @@ reboot
cd ~/dev/dotfiles/ cd ~/dev/dotfiles/
nixos-install --flake '.#' nixos-install --flake '.#'
ssh-keygen -t ed25519 ssh-keygen -t ed25519
mkdir -p ~/.config/sops/age/
ssh-to-age -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt ssh-to-age -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt
age-keygen -y ~/.config/sops/age/keys.txt #add result to .sops.yaml age-keygen -y ~/.config/sops/age/keys.txt #add result to .sops.yaml
# syncthing # syncthing