rock5b
as remote builder
This commit is contained in:
parent
fcea81b962
commit
545d968d20
2 changed files with 19 additions and 1 deletions
|
@ -1,10 +1,15 @@
|
|||
{fleetFlake, ...}: {
|
||||
services = {
|
||||
sshd.enable = true;
|
||||
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
maxretry = 10;
|
||||
ignoreIP = [
|
||||
"88.198.49.106"
|
||||
"10.100.0.1/24"
|
||||
];
|
||||
};
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues (import "${fleetFlake}/lib").keys.users;
|
||||
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues (with (import "${fleetFlake}/lib"); keys.users // keys.hosts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue