l 2: get ssh-keys via api

This commit is contained in:
lassulus 2015-10-31 15:09:43 +01:00
parent 95999d2ef4
commit 10fc9eb4ee
2 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ with lib;
{
users.extraUsers = {
root = {
openssh.authorizedKeys.keys = map readFile [
../../krebs/Zpubkeys/lass.ssh.pub
openssh.authorizedKeys.keys = [
config.krebs.users.lass.pubkey
];
};
mainUser = {
@ -28,8 +28,8 @@ with lib;
useDefaultShell = true;
extraGroups = [
];
openssh.authorizedKeys.keys = map readFile [
../../krebs/Zpubkeys/lass.ssh.pub
openssh.authorizedKeys.keys = [
config.krebs.users.lass.pubkey
];
};
};

View File

@ -15,8 +15,8 @@ with lib;
extraGroups = [
"download"
];
openssh.authorizedKeys.keys = map readFile [
../../krebs/Zpubkeys/lass.ssh.pub
openssh.authorizedKeys.keys = [
config.krebs.users.lass.pubkey
];
};