update common secrets add vaultwarden env
This commit is contained in:
parent
4f2110fc3f
commit
f3cffa2236
6 changed files with 59 additions and 23 deletions
|
|
@ -123,6 +123,11 @@ in
|
|||
owner = users_cfg.primary;
|
||||
mode = "444"; # World readable!
|
||||
};
|
||||
vaultwarden_env = {
|
||||
file = ./secrets/vaultwarden_env.age;
|
||||
owner = users_cfg.primary;
|
||||
mode = "444"; # World readable!
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -46,7 +46,11 @@ let
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILQLt2Hc+CN6+e7/sf3Fv0FQlp6+yrIbIJ/J9AdnJCjI luser@h003"
|
||||
];
|
||||
|
||||
publicKeys = authorityKey ++ gpdPocket3 ++ lio ++ joe ++ oren ++ h001 ++ h002 ++ h003;
|
||||
trustedKeys = authorityKey ++ gpdPocket3 ++ lio ++ joe ++ oren ++ h001 ++ h002 ++ h003;
|
||||
|
||||
o001 = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFrwvahx1x4rue28QHCzyADQndOeTESIv80f7d00NXWT" # root
|
||||
];
|
||||
in
|
||||
{
|
||||
## To make a new secret:
|
||||
|
|
@ -58,69 +62,73 @@ in
|
|||
|
||||
# Git keys
|
||||
"nix2github.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2bitbucket.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2gitforgejo.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2gitjosh.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2nix.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
# Server keys
|
||||
"nix2h001.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2h002.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2h003.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2joe.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2gpdPocket3.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2t.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2l002.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2linode.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2oracle.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2lio.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"nix2oren.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
# Others
|
||||
"github_read_token.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"headscale_auth.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"obsidian_sync_env.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"us_chi_wg.age" = {
|
||||
inherit publicKeys;
|
||||
publicKeys = trustedKeys;
|
||||
};
|
||||
"zitadel_master_key.age" = {
|
||||
# h001 only
|
||||
publicKeys = authorityKey ++ h001;
|
||||
};
|
||||
"vaultwarden_env.age" = {
|
||||
# h001 only
|
||||
publicKeys = authorityKey ++ o001;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
18
common/secrets/secrets/vaultwarden_env.age
Normal file
18
common/secrets/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3wDPjtxiVX/vxRLlGijNJQ92IbsZNOUahyWlZr0q4deozsf+LV41sHr
|
||||
cJ9EljTO
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
Loading…
Add table
Add a link
Reference in a new issue