Added logging config for new logging VM

This commit is contained in:
Random936
2024-09-08 10:33:33 -07:00
parent ad12dfc2d9
commit cb918b25fb
3 changed files with 97 additions and 16 deletions

25
config/logging.nix Normal file
View File

@@ -0,0 +1,25 @@
{ config, pkgs, inputs, ... }: {
imports = [
../hardware/logging.nix
./headless.nix
];
users.users.logging = import ./user.nix;
networking.hostName = "r330-logging";
# Conigure a static IP address.
networking.defaultGateway = "192.168.8.1";
networking.nameservers = [ "192.168.8.1" ];
#networking.firewall.allowedTCPPorts = [ ];
networking.interfaces.ens18.ipv4.addresses = [
{
address = "192.168.8.8";
prefixLength = 24;
}
];
environment.systemPackages = with pkgs; [
suricata
];
}