summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-25 00:44:51 +0200
committertv <tv@shackspace.de>2015-07-25 01:32:24 +0200
commita489c7be84ffa76bb71542277af6c114c40961f2 (patch)
treee140e35d94e3ec0e9d8d1c72c9bfd467390001c5
parent14250e66a7b15a6ece190ba55f672fb103eadaa3 (diff)
tv: source pubkeys from registry
-rw-r--r--1systems/tv/cd.nix4
-rw-r--r--2configs/tv/base.nix8
2 files changed, 6 insertions, 6 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix
index 4b8c40f35..fcaf19cb5 100644
--- a/1systems/tv/cd.nix
+++ b/1systems/tv/cd.nix
@@ -120,8 +120,8 @@ in
home = "/home/mv";
createHome = true;
useDefaultShell = true;
- openssh.authorizedKeys.keys = map readFile [
- ../../Zpubkeys/mv_vod.ssh.pub
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.mv.pubkey
];
};
};
diff --git a/2configs/tv/base.nix b/2configs/tv/base.nix
index 14d84c9f6..c7d3e0d2a 100644
--- a/2configs/tv/base.nix
+++ b/2configs/tv/base.nix
@@ -24,8 +24,8 @@ in
{
users.extraUsers = {
root = {
- openssh.authorizedKeys.keys = map readFile [
- ../../Zpubkeys/tv_wu.ssh.pub
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.tv.pubkey
];
};
tv = {
@@ -39,8 +39,8 @@ in
"video"
"wheel"
];
- openssh.authorizedKeys.keys = map readFile [
- ../../Zpubkeys/tv_wu.ssh.pub
+ openssh.authorizedKeys.keys = [
+ config.krebs.users.tv.pubkey
];
};
};