external: one kmein per ssh key
This commit is contained in:
parent
62431bd8b9
commit
b846210a1c
11
krebs/3modules/external/kmein.nix
vendored
11
krebs/3modules/external/kmein.nix
vendored
@ -19,9 +19,16 @@ let
|
|||||||
ssh-for = name: builtins.readFile (./ssh + "/${name}.pub");
|
ssh-for = name: builtins.readFile (./ssh + "/${name}.pub");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.kmein = {
|
users = rec {
|
||||||
|
kmein = kmein-kabsa;
|
||||||
|
kmein-kabsa = {
|
||||||
mail = "kmein@posteo.de";
|
mail = "kmein@posteo.de";
|
||||||
pubkey = ssh-for "kmein";
|
pubkey = ssh-for "kmein.kabsa";
|
||||||
|
};
|
||||||
|
kmein-manakish = {
|
||||||
|
inherit (kmein-kabsa) mail;
|
||||||
|
pubkey = ssh-for "kmein.manakish";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
hosts = mapAttrs hostDefaults {
|
hosts = mapAttrs hostDefaults {
|
||||||
kabsa = {
|
kabsa = {
|
||||||
|
@ -1,2 +1 @@
|
|||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyTnGhFq0Q+vghNhrqNrAyY+CsN7nNz8bPfiwIwNpjk
|
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