Set up secrets for Archie

This commit is contained in:
Toast 2023-06-05 12:55:47 +02:00
parent 382c8a73d0
commit 8578615936
6 changed files with 33 additions and 4 deletions

View file

@ -24,23 +24,23 @@
secrets = {
"ed25519" = {
symlink = false;
file = ../../secrets/Everest/host-key-ed25519;
file = ../../secrets/${config.networking.hostName}/host-key-ed25519;
path = "/etc/ssh/ssh_host_ed25519_key";
};
"rsa" = {
symlink = false;
file = ../../secrets/Everest/host-key-rsa;
file = ../../secrets/${config.networking.hostName}/host-key-rsa;
path= "/etc/ssh/ssh_host_rsa_key";
};
"ed25519-public" = {
symlink = false;
file = ../../secrets/Everest/host-key-ed25519-public;
file = ../../secrets/${config.networking.hostName}/host-key-ed25519-public;
path = "/etc/ssh/ssh_host_ed25519_key.pub";
mode = "0644";
};
"rsa-public" = {
symlink = false;
file = ../../secrets/Everest/host-key-rsa-public;
file = ../../secrets/${config.networking.hostName}/host-key-rsa-public;
path = "/etc/ssh/ssh_host_rsa_key.pub";
mode = "0644";
};