ssh: manage git ssh key

main
Zynh Ludwig 2024-07-28 06:53:41 -07:00
parent 73427f47d4
commit 1ce0ee80c5
2 changed files with 1 additions and 8 deletions

View File

@ -68,13 +68,5 @@ in
}; };
}; };
}; };
sops.secrets =
let home = config.home.homeDirectory;
in lib.mkIf sops {
"private_keys/personal_git" = {
path = "${home}/.ssh/personal_git";
};
};
}; };
} }

View File

@ -46,6 +46,7 @@ in
sops.secrets = ifSops { sops.secrets = ifSops {
"private_keys/msiserver" = { }; "private_keys/msiserver" = { };
"private_keys/caveserver" = { }; "private_keys/caveserver" = { };
"private_keys/personal_git" = { };
"ssh_hosts/caveserver".path = "${sshDir}/conf.d/caveserver_config"; "ssh_hosts/caveserver".path = "${sshDir}/conf.d/caveserver_config";
}; };