summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-31 15:09:43 +0100
committerlassulus <lass@aidsballs.de>2015-10-31 15:10:33 +0100
commit10fc9eb4ee5151bee86026cd81a73d333551b612 (patch)
tree10337cdc908a6100d41353b72c87598d7f0b7b82 /lass
parent95999d2ef4b426c68c5d4875554ff8c3e10669e0 (diff)
l 2: get ssh-keys via api
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/base.nix8
-rw-r--r--lass/2configs/downloading.nix4
2 files changed, 6 insertions, 6 deletions
diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix
index 057af7bc..11bc4f08 100644
--- a/lass/2configs/base.nix
+++ b/lass/2configs/base.nix
@@ -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
];
};
};
diff --git a/lass/2configs/downloading.nix b/lass/2configs/downloading.nix
index 553a3a55..b9f3449e 100644
--- a/lass/2configs/downloading.nix
+++ b/lass/2configs/downloading.nix
@@ -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
];
};