cfg/app/ssh/templates.cue

20 lines
359 B
Plaintext

package ssh
import "du5t1n.me/cfg/base/schema/instructions"
templates: [...instructions.#RenderInstruction] & [
{
template: "ssh/ca.pub"
dest: "/etc/ssh/ca.pub"
},
{
template: "ssh/trustedusercakeys.conf"
dest: "/etc/ssh/sshd_config.d/70-trustedusercakeys.conf"
hooks: {
changed: [
{run: "systemctl reload sshd"},
]
}
},
]