diff options
author | lassulus <lass@aidsballs.de> | 2015-10-31 15:09:43 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-31 15:10:33 +0100 |
commit | 10fc9eb4ee5151bee86026cd81a73d333551b612 (patch) | |
tree | 10337cdc908a6100d41353b72c87598d7f0b7b82 /lass/2configs/base.nix | |
parent | 95999d2ef4b426c68c5d4875554ff8c3e10669e0 (diff) |
l 2: get ssh-keys via api
Diffstat (limited to 'lass/2configs/base.nix')
-rw-r--r-- | lass/2configs/base.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix index 057af7bc4..11bc4f089 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 ]; }; }; |