feat: add initial config
This commit is contained in:
commit
fb98563bb6
26 changed files with 576 additions and 0 deletions
25
config/secrets.nix
Normal file
25
config/secrets.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue