Skip to content

Commit

Permalink
secrets: add SSH host key
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarvstedt committed Jul 5, 2022
1 parent be86939 commit 69a75f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ with lib;
services.openssh = {
enable = true;
passwordAuthentication = false;
hostKeys = lib.mkForce [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
users.users.root = {
# Create with:
Expand Down
Binary file added secrets/client-side/ssh-host-key.gpg
Binary file not shown.

0 comments on commit 69a75f0

Please sign in to comment.