test
This commit is contained in:
parent
0e1adcb8ba
commit
1486284f46
4 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -7,6 +7,11 @@
|
|||
restartUnits = [ "telegraf.service" ];
|
||||
};
|
||||
|
||||
users.users.telegraf {
|
||||
extraGroups = [ "wheel" ];
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
||||
# Install the package
|
||||
environment.systemPackages = with pkgs; [
|
||||
lm_sensors
|
||||
|
|
|
@ -35,4 +35,4 @@
|
|||
"browser.tabs.firefox-view" = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue