[SSH] Add H4Git key
This commit is contained in:
parent
2bdf81e6be
commit
25f78907ea
3 changed files with 53 additions and 13 deletions
|
@ -1,11 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
home-manager.users.tdpeuter = {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
@ -28,6 +23,12 @@
|
|||
identityFile = "/run/secrets/GitHub-UGent/ssh";
|
||||
user = "tdpeuter";
|
||||
};
|
||||
"git.depeuter.dev" = {
|
||||
hostname = "git.depeuter.dev";
|
||||
identitiesOnly = true;
|
||||
identityFile = "/run/secrets/H4Git/ssh";
|
||||
user = "tdpeuter";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue