add blake ssh key

This commit is contained in:
2025-11-11 16:50:42 -06:00
parent 4a6eb5059c
commit 6fb6dc7abb
2 changed files with 19 additions and 14 deletions

View File

@@ -19,32 +19,21 @@ in {
matchBlocks = {
"git.blakedheld.xyz" = {
user = "gitea";
identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567;
};
"git.snowbelle.lan" = {
user = "gitea";
identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567;
};
"bebe" = {
hostname = "10.10.0.1";
user = "root";
identityFile = "${home_dir}/.ssh/id_snowbelle";
};
};
};
# manage secrets with sops
sops.secrets = {
# "id_snowbelle" = {
# mode = "0600";
# path = "${home_dir}/.ssh/id_snowbelle";
# };
# "id_snowbelle.pub" = {
# mode = "644";
# path = "${home_dir}/.ssh/id_snowbelle.pub";
# };
"id_blake" = {
mode = "0600";
path = "${home_dir}/.ssh/id_blake";

View File

@@ -22,11 +22,27 @@ in {
};
home.packages = with pkgs; [
htop
sl
];
# import snowbelle specific ssh keys
programs.ssh.matchBlocks = lib.mkForce {
"git.blakedheld.xyz" = {
user = "gitea";
identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567;
};
"git.snowbelle.lan" = {
user = "gitea";
identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567;
};
"bebe" = {
hostname = "10.10.0.1";
user = "root";
identityFile = "${home_dir}/.ssh/id_snowbelle";
};
};
sops.secrets = {
"id_snowbelle" = {
mode = "0600";