change to default filename
Some checks are pending
Test Nix flake / Test nix flake (push) Waiting to run
Some checks are pending
Test Nix flake / Test nix flake (push) Waiting to run
This commit is contained in:
parent
9685ac742c
commit
78a593b0b2
1 changed files with 0 additions and 0 deletions
93
secrets/agenix-rules.nix
Normal file
93
secrets/agenix-rules.nix
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
let
|
||||
kanae = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICW1+Ml8R9x1LCJaZ8bIZ1qIV4HCuZ6x7DziFW+0Nn5T xengi@kanae_2022-12-09";
|
||||
kota = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICmb+mJfo84IagUaRoDEqY9ROjjQUOQ7tMclpN6NDPrX xengi@kota_2022-01-16";
|
||||
lucy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICyklb7dvEHH0VBEMmTUQFKHN6ekBQqkDKj09+EilUIQ xengi@lucy_2018-09-08";
|
||||
mayu = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICjv9W8WXq9QGkgmANNPQR24/I1Pm1ghxNIHftEI+jlZ xengi@mayu_2021-06-11";
|
||||
nana = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGhyfD+8jMl6FDSADb11sfAsJk0KNoVzjjiDRZjUOtmf xengi@nana_2019-08-16";
|
||||
nyu = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPtGqhV7io3mhIoZho4Yf7eCo0sUZvjT2NziM2PkXSo xengi@nyu_2017-10-11";
|
||||
xengi = [
|
||||
kanae
|
||||
kota
|
||||
lucy
|
||||
mayu
|
||||
nana
|
||||
nyu
|
||||
];
|
||||
kaythxbye = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMn0SP19A5C8PqdH+99ki3TILozj/U4tBSQxcRRepN21 samuel@pluto"
|
||||
];
|
||||
|
||||
_matrix = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIApAkkhHLj918co/wUGuyW8WCPYHxsNM4uo32XDEu7VV root@matrix";
|
||||
_md = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFdFkdEEDXo8+k5YZpI1O2GqZlxcpCDtxqVun35duITm root@md";
|
||||
_sql = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPcSXjDSyVVVdJbpheOhT0fIuOGFk+jsHhjrAVnBNLQV root@sql";
|
||||
_www = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID4TJCMuJZn03soKuxxv6ywFKiXfhLf9Ab03fbMqNaBJ root@www";
|
||||
_monitoring = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINmRWdAUur0lb08NiB6ZWLrGmCeELRV30ElxRLfVJGPB root@monitoring";
|
||||
_dav = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICArHbX8OlNOv8HCWyyFvyi60d6MRFYe+apK0iGJ7yIM root@dav";
|
||||
_git = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII93S1RUXVbH6mQksk9c5fXP8avSKXEUHBH0a7/ZbZY5 root@git";
|
||||
_runner = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKFC7hGJC7cZ2NlrPEP9dhX1+vBNpoTFVNTKcyJX+EVP root@forgejo-runner";
|
||||
in
|
||||
{
|
||||
"matrix_admin_password.age".publicKeys = xengi;
|
||||
|
||||
"draupnir_access_token.age".publicKeys = xengi ++ [ _matrix ];
|
||||
"matrix_signing_key.age".publicKeys = xengi ++ [ _matrix ];
|
||||
"matrix_registration_shared_secret.age".publicKeys = xengi ++ [ _matrix ];
|
||||
"matrix_db_password.age".publicKeys = xengi ++ [ _matrix ];
|
||||
|
||||
"pushover_app_token.age".publicKeys = xengi ++ [ _matrix ];
|
||||
"pushover_user_key.age".publicKeys = xengi ++ [ _matrix ];
|
||||
|
||||
"hedgedoc_db_password.age".publicKeys = xengi ++ [ _md ];
|
||||
|
||||
"grafana_admin_password.age".publicKeys = xengi ++ [ _monitoring ];
|
||||
"grafana_secret_key.age".publicKeys = xengi ++ [ _monitoring ];
|
||||
"grafana_basic_auth.age".publicKeys = xengi ++ [ _monitoring ];
|
||||
"pve-exporter.age".publicKeys = xengi ++ [ _monitoring ];
|
||||
|
||||
"postgres-matrix-synapse.age".publicKeys = xengi ++ [
|
||||
_sql
|
||||
_matrix
|
||||
];
|
||||
"postgres-hedgedoc.age".publicKeys = xengi ++ [
|
||||
_sql
|
||||
_md
|
||||
];
|
||||
"postgres-grafana.age".publicKeys = xengi ++ [
|
||||
_sql
|
||||
_monitoring
|
||||
];
|
||||
"postgres-forgejo.age".publicKeys =
|
||||
xengi
|
||||
++ kaythxbye
|
||||
++ [
|
||||
_sql
|
||||
_git
|
||||
];
|
||||
"postgres-extkuma.age".publicKeys = xengi ++ [ _sql ];
|
||||
"postgres-baikal.age".publicKeys = xengi ++ [
|
||||
_sql
|
||||
_dav
|
||||
];
|
||||
"www-staging-htpasswd.age".publicKeys = xengi ++ [ _www ];
|
||||
"id_ed25519_www-staging.age".publicKeys = xengi;
|
||||
"id_ed25519_www-production.age".publicKeys = xengi;
|
||||
"caldav-export-config.age".publicKeys = xengi ++ [ _www ];
|
||||
"radicale_htpasswd.age".publicKeys = xengi ++ [ _dav ];
|
||||
"forgejo-internal-token.age".publicKeys = xengi ++ kaythxbye ++ [ _git ];
|
||||
"forgejo-runner-token-snowden-env.age".publicKeys =
|
||||
xengi
|
||||
++ kaythxbye
|
||||
++ [
|
||||
_git
|
||||
_runner
|
||||
];
|
||||
"forgejo-runner-token-snowden.age".publicKeys =
|
||||
xengi
|
||||
++ kaythxbye
|
||||
++ [
|
||||
_git
|
||||
_runner
|
||||
];
|
||||
"forgejo-secret-key.age".publicKeys = xengi ++ kaythxbye ++ [ _git ];
|
||||
"forgejo-oauth2-jwt-secret.age".publicKeys = xengi ++ kaythxbye ++ [ _git ];
|
||||
}
|
||||
Loading…
Reference in a new issue