summaryrefslogtreecommitdiffstats
path: root/nin/2configs
diff options
context:
space:
mode:
authornin <nin@c-base.org>2018-01-03 18:11:48 +0100
committernin <nin@c-base.org>2018-01-03 18:11:48 +0100
commit3e976918e64249a11cb433b587db094bb6105af3 (patch)
tree1f4e2941cad0d7a9386de582270f92beda14b2e6 /nin/2configs
parentdd6193f692206ddace0f20560338684dc24af4a3 (diff)
nin axon: set up ssh keys
Diffstat (limited to 'nin/2configs')
-rw-r--r--nin/2configs/default.nix2
-rw-r--r--nin/2configs/git.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix
index d7b89c80c..62f499a2d 100644
--- a/nin/2configs/default.nix
+++ b/nin/2configs/default.nix
@@ -16,6 +16,7 @@ with import <stockholm/lib>;
root = {
openssh.authorizedKeys.keys = [
config.krebs.users.nin.pubkey
+ config.krebs.users.nin_h.pubkey
];
};
nin = {
@@ -31,6 +32,7 @@ with import <stockholm/lib>;
];
openssh.authorizedKeys.keys = [
config.krebs.users.nin.pubkey
+ config.krebs.users.nin_h.pubkey
];
};
};
diff --git a/nin/2configs/git.nix b/nin/2configs/git.nix
index 2a8604689..9ebbaabd2 100644
--- a/nin/2configs/git.nix
+++ b/nin/2configs/git.nix
@@ -53,7 +53,7 @@ let
with git // config.krebs.users;
repo:
singleton {
- user = [ nin ];
+ user = [ nin nin_h ];
repo = [ repo ];
perm = push "refs/*" [ non-fast-forward create delete merge ];
} ++