Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Sep 14, 2024
1 parent 4208401 commit 7f966b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
vaultix = {
settings = {
storageDir = ./secrets/renced/${config.networking.hostName};
hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM4XC7dGxwY7VUPr4t+NtWL+c7pTl8g568jdv6aRbhDZ";
hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEu8luSFCts3g367nlKBrxMdLyOy4Awfo5Rb397ef2AR elen@kaambl";
masterIdentities = [
# This indeed not safe since it has not password protection ;
./safekey.txt.pub
Expand Down Expand Up @@ -42,6 +42,13 @@
};
};
};
services.openssh.hostKeys = [
{
path = ./ssh_key;
type = "ed25519";
}
];

services.userborn.enable = true;

imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
Expand Down
7 changes: 7 additions & 0 deletions test/ssh_key
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACBLvJbkhQrbN4N+u55Sga8THS8jsuAMH6OUW9/e3n9gEQAAAJA2pUBZNqVA
WQAAAAtzc2gtZWQyNTUxOQAAACBLvJbkhQrbN4N+u55Sga8THS8jsuAMH6OUW9/e3n9gEQ
AAAECY8KpFz3qti09XPK9+gNe1hiBe/KF8tVI+se0e+e1QMEu8luSFCts3g367nlKBrxMd
LyOy4Awfo5Rb397ef2ARAAAAC2VsZW5Aa2FhbWJsAQI=
-----END OPENSSH PRIVATE KEY-----

0 comments on commit 7f966b1

Please sign in to comment.