Add agenix secrets management / test forgejo runner deployment

This commit is contained in:
Théo Barnouin 2024-10-23 12:14:11 +02:00
parent fe5c92ae8c
commit 409c65a779
6 changed files with 63 additions and 2 deletions

View file

@ -93,7 +93,7 @@
settings.PermitRootLogin = "prohibit-password";
hostKeys = [
{
path = "/var/ssh/ssh_host_ed25519_key";
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
@ -118,6 +118,6 @@
system = {
stateVersion = "24.05";
activationScripts.ensure-ssh-key-dir.text = "mkdir -p /var/ssh";
activationScripts.ensure-ssh-key-dir.text = "mkdir -p /etc/ssh";
};
}