mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
networking updates
This commit is contained in:
parent
9f6221d8b1
commit
cf9dedf17a
|
@ -2,6 +2,10 @@
|
|||
{
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
ignoreIP = [
|
||||
"141.30.0.0/16"
|
||||
"141.76.0.0/16"
|
||||
];
|
||||
bantime = "10m";
|
||||
bantime-increment = {
|
||||
enable = true;
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
domain = "rfive.de";
|
||||
useNetworkd = true;
|
||||
enableIPv6 = true;
|
||||
firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr 192.168.0.0/16 tcp dport 19531 accept comment "Allow journald gateway access from local networks"
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.resolved = {
|
||||
dnssec = "true";
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
useNetworkd = true;
|
||||
enableIPv6 = true;
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr 192.168.0.0/16 tcp dport 19531 accept comment "Allow journald gateway access from local networks"
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.lldpd.enable = true;
|
||||
services.resolved = {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
./gpg.nix
|
||||
./vim.nix
|
||||
./nix.nix
|
||||
./systemd.nix
|
||||
./tmux.nix
|
||||
./yazi.nix
|
||||
./zsh.nix
|
||||
|
|
Loading…
Reference in a new issue