refactor to use common components

This commit is contained in:
RingOfStorms (Josh) 2024-05-11 12:07:42 -05:00
parent 1ec7eadcb8
commit c3644453ca
12 changed files with 62 additions and 222 deletions

View file

@ -18,19 +18,25 @@ let
];
in
{
## Too make a new secret: `ragenix --editor=vi -v -e FILE.age` add file below and in the ragenix.nix file
## To make a new secret: `ragenix --editor=vi -v -e FILE.age` add file below and in the ragenix.nix file
#
# TODO come up with a rotate method/encrypt the device keys better. This isn't very secure feeling to me the way I am doing this now. If anyone gains access to any one of my devices, then my secrets are no longer secret. This is not a good model.
# Git keys
"nix2github.age" = {
inherit publicKeys;
};
"nix2bitbucket.age" = {
inherit publicKeys;
};
# Server keys
"nix2h001.age" = {
inherit publicKeys;
};
"nix2t.age" = {
inherit publicKeys;
};
"nix2l001.age" = {
inherit publicKeys;
};
}