feat: add initial config

This commit is contained in:
Katharina Heidenreich 2026-04-04 22:19:24 +02:00
commit fb98563bb6
26 changed files with 576 additions and 0 deletions

25
config/secrets.nix Normal file
View file

@ -0,0 +1,25 @@
{
openssh = {
users = {
"autossh-incoming" = {
pub_keys = {
file = ../secrets/openssh/autossh_incoming/pub_keys;
path = "/var/lib/autossh-incoming/.ssh/authorized_keys";
owner = "autossh-incoming";
group = "autossh-incoming";
mode = "0600";
};
};
nudelerde = {
pub_keys = {
file = ../secrets/openssh/nudelerde/pub_keys;
path = "/home/nudelerde/.ssh/authorized_keys";
owner = "nudelerde";
group = "users";
mode = "0600";
};
};
};
};
}