This commit is contained in:
iFargle 2023-07-06 12:35:33 +09:00
parent 0e1adcb8ba
commit 1486284f46
4 changed files with 8 additions and 7 deletions

View file

@ -49,7 +49,7 @@
networkmanager = {
enable = true;
};
enableIPv6 = false;
firewall = {
enable = true;
@ -82,6 +82,7 @@
isNormalUser = true;
description = "Albert J. Copeland";
extraGroups = [ "networkmanager" "wheel" ];
# passwordFile = /run/secrets/albert-pass
};
# Enable flakes: https://nixos.wiki/wiki/Flakes

View file

@ -13,9 +13,4 @@
overalljails = true; # Calculate the bantime based on all the violations
};
};
# The SystemD Unit file configuration
systemd.services.fail2ban = {
postStart = "sleep 2 && chmod o+r /var/run/fail2ban/fail2ban.socket";
};
}

View file

@ -7,6 +7,11 @@
restartUnits = [ "telegraf.service" ];
};
users.users.telegraf {
extraGroups = [ "wheel" ];
isSystemUser = true;
};
# Install the package
environment.systemPackages = with pkgs; [
lm_sensors

View file

@ -35,4 +35,4 @@
"browser.tabs.firefox-view" = false;
};
};
}
}