diff options
author | tv <tv@krebsco.de> | 2015-07-25 00:44:51 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-25 01:32:24 +0200 |
commit | 5ef409768b25185d7fef7f1fb9096d89ff16c6e4 (patch) | |
tree | 7d326ddde37d9170ab3dea7e45bffbff6e6a5441 | |
parent | 070d813ec2fe8bf164ccfb8ee26163f6f4b3784e (diff) |
tv: source pubkeys from registry
-rw-r--r-- | 1systems/tv/cd.nix | 4 | ||||
-rw-r--r-- | 2configs/tv/base.nix | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix index 4b8c40f..fcaf19c 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 14d84c9..c7d3e0d 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 ]; }; }; |