[ssh] Add HPC key

This commit is contained in:
Tibo De Peuter 2023-10-05 21:09:36 +02:00
parent ece50202e0
commit f7e8643c59
8 changed files with 61 additions and 114 deletions

View file

@ -19,27 +19,28 @@
secrets =
let
user = config.users.users.tdpeuter.name;
in {
Hugo = {
format = "yaml";
sopsFile = ../../../secrets/Hugo.yaml;
owner = user;
};
UGent = {
format = "yaml";
sopsFile = ../../../secrets/UGent.yaml;
owner = user;
};
in {
"Hugo/ssh" = Hugo;
"UGent/HPC/ssh" = UGent;
"GitHub/ssh" = {
format = "yaml";
sopsFile = ../../../secrets/GitHub.yaml;
owner = user;
};
"GitHub-UGent/ssh" = {
format = "yaml";
sopsFile = ../../../secrets/GitHub-UGent.yaml;
owner = user;
};
"Hugo/ssh" = {
format = "yaml";
sopsFile = ../../../secrets/Hugo.yaml;
owner = user;
};
"Git/ssh" = {
format = "yaml";
sopsFile = ../../../secrets/H4Git.yaml;
owner = user;
};
"Hugo/Gitea/ssh" = Hugo;
"UGent/GitHub/ssh" = UGent;
};
};
}

View file

@ -16,6 +16,20 @@
identityFile = "/run/secrets/Hugo/ssh";
user = "admin";
};
"HPC" = {
hostname = "login.hpc.ugent.be";
identitiesOnly = true;
identityFile = "/run/secrets/UGent/HPC/ssh";
user = "vsc44995";
};
# Git authentication
"git.depeuter.dev" = {
hostname = "git.depeuter.dev";
identitiesOnly = true;
identityFile = "/run/secrets/Hugo/Gitea/ssh";
user = "tdpeuter";
};
"github.com" = {
hostname = "github.com";
identitiesOnly = true;
@ -25,13 +39,7 @@
"github.ugent.be" = {
hostname = "github.ugent.be";
identitiesOnly = true;
identityFile = "/run/secrets/GitHub-UGent/ssh";
user = "tdpeuter";
};
"git.depeuter.dev" = {
hostname = "git.depeuter.dev";
identitiesOnly = true;
identityFile = "/run/secrets/H4Git/ssh";
identityFile = "/run/secrets/UGent/GitHub/ssh";
user = "tdpeuter";
};
};