external: one kmein per ssh key
This commit is contained in:
parent
62431bd8b9
commit
b846210a1c
13
krebs/3modules/external/kmein.nix
vendored
13
krebs/3modules/external/kmein.nix
vendored
@ -19,9 +19,16 @@ let
|
||||
ssh-for = name: builtins.readFile (./ssh + "/${name}.pub");
|
||||
in
|
||||
{
|
||||
users.kmein = {
|
||||
mail = "kmein@posteo.de";
|
||||
pubkey = ssh-for "kmein";
|
||||
users = rec {
|
||||
kmein = kmein-kabsa;
|
||||
kmein-kabsa = {
|
||||
mail = "kmein@posteo.de";
|
||||
pubkey = ssh-for "kmein.kabsa";
|
||||
};
|
||||
kmein-manakish = {
|
||||
inherit (kmein-kabsa) mail;
|
||||
pubkey = ssh-for "kmein.manakish";
|
||||
};
|
||||
};
|
||||
hosts = mapAttrs hostDefaults {
|
||||
kabsa = {
|
||||
|
@ -1,2 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyTnGhFq0Q+vghNhrqNrAyY+CsN7nNz8bPfiwIwNpjk
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiQEc8rTr7C7xVLYV7tQ99BDDBLrJsy5hslxtCEatkB
|
1
krebs/3modules/external/ssh/kmein.manakish.pub
vendored
Normal file
1
krebs/3modules/external/ssh/kmein.manakish.pub
vendored
Normal file
@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiQEc8rTr7C7xVLYV7tQ99BDDBLrJsy5hslxtCEatkB
|
Loading…
Reference in New Issue
Block a user