Verified Commit 430368e8 authored by Tim Schubert's avatar Tim Schubert
Browse files

use admin keys in secrets.nix

parent 33512d62
age-encryption.org/v1
-> ssh-ed25519 cIlzfQ 3C541bsAOk7Uu1MzFZAuxA59J/rAm8Z6cLpLhSmnVmI
lQsjx7x1y445Lwtn7JtABrzGHtE1Kvglfr+QqvSu7KI
-> ssh-ed25519 YCDJ8w X+DrXxqLt23Ff2uqFGUw82bvtMkRSGqWwDWel3sZuQQ
NMAWaFqYExWVp0b7cAfkDidzzw1K9x9KQ/vVhJ289Po
-> 8z<<9L0-grease *8 ],c(3
mnTjuoNn1g0
--- 7uo/FhRdlQ+TPHzMiqVSBbMa6qMct/qMOsPBiNwduKc
Qk~g
+Bԕ~@ycn+|L7Z-H{S- ש{7R
\ No newline at end of file
-> ssh-ed25519 cIlzfQ YHd0Pn0ML/oPc2bwQ/4Drcu2nk6Fnu/W0NHxJf09bko
0PyRin+ZnPvO70s117H0+3q1nPC/dFU/O1TfMTTOwTY
-> ssh-rsa rtlZDA
refAb6KGD8jWTBulBkj7Jgdv9bHo9y5QyeuI6c5K2CZZYSMFQFECVZ5lQwMjHAk6
UCUdwveolKOEus9hb5Y40frWOfU23Fij6JCY7SdCAI7cT1/MVcs/+wtnNM6gGXTw
Eg4YdRMoObCrPMNDCPN/+0AqX9t7YcKHLEaMhQ5l+7gJFqgNLknpwOpI0HdJhJgs
Oy4lfE+tzG4rajzyAlymfBNanRK4HVaspoMt7QWnmhfmTXl39czSUl92rGKIPgTH
W+/HcqSP2qcdyM7639Qy2Cs9r80KN7e29v9BKkMjgO9TynECxvy6p32U5ms7BrwT
kojtPh9xXXtKfU+0IFWzHbUbGHTyT1ilgYSOtygnK4J+Kdl3dJ1CAU/8DnE3rGIq
Pf01q7JvBJ1PK3FpNW+D5NVYtcrIIQt2USbEmx7E6kIFPwL0/VjrxSDpCqIdwq3P
1ZgUOJ6VWZCoVfBS67ovjrQJ2aVBv5f/BtzDo10HIlJaX8TnJDHpQBNWVMWBd0mp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4dnkIPVvUmXfyJ1Vo1Rse42Khda7inH2mMWVjiCF+WIrO+AkQ
--- 9nVp/Qrf6ISuYREiULncZDWIU4hOW5kMeToCKs98doU
믏+a&A?mzF_$>G֊UT`~cem
\ No newline at end of file
let
# Admin SSH keys
fginfo-admins = builtins.fromTOML (builtins.readFile ../Admins.toml);
# TODO add gemerated id_ed25519 keys
fginfo-admins = builtins.concatMap (admin: admin.keys) (builtins.attrValues (builtins.fromTOML (builtins.readFile ../Admins.toml)));
systems = {
fginfo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGCBAg2IlpsI2rNIxLyr0YOBlgFIs8u34q7SRpNFcScA root@fginfo";
};
in {
"fginfo-backup-passphrase.age".publicKeys = [
systems.fginfo
] ++ fginfo-admins.y0067212.keys;
"wiki.fginfo.tu-bs.de.key.age".publicKeys = [
systems.fginfo
] ++ fginfo-admins.y0067212.keys;
"tickets.fginfo.tu-bs.de.key.age".publicKeys = [
] ++ fginfo-admins.y0067212.keys;
"fginfo-backup-ssh-key.age".publicKeys = [
systems.fginfo
] ++ fginfo-admins.y0067212.keys;
"fginfo-backup-passphrase.age".publicKeys = [ systems.fginfo ] ++ fginfo-admins;
"wiki.fginfo.tu-bs.de.key.age".publicKeys = [ systems.fginfo ] ++ fginfo-admins;
"tickets.fginfo.tu-bs.de.key.age".publicKeys = [ ] ++ fginfo-admins;
"fginfo-backup-ssh-key.age".publicKeys = [ systems.fginfo ] ++ fginfo-admins;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment