added fail2ban
parent
5c5d20bfac
commit
c7d89fd6c8
|
|
@ -8,10 +8,12 @@
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./nextcloud.nix
|
#./nextcloud.nix
|
||||||
./matrix-synapse.nix
|
./matrix-synapse.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./openldap.nix
|
./openldap.nix
|
||||||
|
./syncthing.nix
|
||||||
|
./fail2ban.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Boot
|
# Boot
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{config, pkgs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.fail2ban = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
14
openldap.nix
14
openldap.nix
|
|
@ -58,6 +58,20 @@
|
||||||
givenName:
|
givenName:
|
||||||
mail:
|
mail:
|
||||||
userPassword: {CRYPT}$6$3xZm8NPt32CZ4oEJ$B4ptPV2eMuf76bSCkb6siYpft1aa4NObdokMjscNaicMfaMCiwyM0s4R2me3EAOZiPXSl36DMTFl5MaZHBHqP1
|
userPassword: {CRYPT}$6$3xZm8NPt32CZ4oEJ$B4ptPV2eMuf76bSCkb6siYpft1aa4NObdokMjscNaicMfaMCiwyM0s4R2me3EAOZiPXSl36DMTFl5MaZHBHqP1
|
||||||
|
|
||||||
|
dn: cn=andrej0913, ou=users, o=bib3, c=DE
|
||||||
|
objectclass: InetOrgPerson
|
||||||
|
sn:
|
||||||
|
givenName:
|
||||||
|
mail:
|
||||||
|
userPassword: {CRYPT}$6$qI3fENURGFHYMVeN$tdqfgaA/Uex.p1DC7YUSXQ4P0tqAsUAUMkrtk68LKLmswLBcz3C2KLbglm4XIYUdEjw2fkWNbPLtrF/.d17nF.
|
||||||
|
|
||||||
|
dn: cn=gallaron, ou=users, o=bib3, c=DE
|
||||||
|
objectclass: InetOrgPerson
|
||||||
|
sn:
|
||||||
|
givenName:
|
||||||
|
mail:
|
||||||
|
userPassword: {CRYPT}$6$vbhMLZRZmvLcXvP6$U3Q81g7FVuo4jnK.0Yy12PdL0Eqso4Thjlc3YnRGJe9tyfeovKdSeNPhEPDGNhIzFZdnmsVYzJO/xnbb0ub1c0
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# TODO move users to seperate files
|
# TODO move users to seperate files
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue