Updated networking for r330-logging

This commit is contained in:
Random936 2025-01-11 19:38:55 -08:00
parent 14372a2bfd
commit d958621a79

View File

@ -3,21 +3,15 @@
imports = [ imports = [
../hardware/logging.nix ../hardware/logging.nix
./headless.nix ./headless.nix
(import ./networking.nix {
hostname = "r330-logging";
ip_address = "192.168.100.41";
open_ports = [];
inherit lib;
})
]; ];
users.users.logging = import ./user.nix; users.users.logging = import ./user.nix;
networking.hostName = "r330-logging";
# Conigure a static IP address.
networking.defaultGateway = "192.168.100.1";
networking.nameservers = [ "192.168.100.1" ];
#networking.firewall.allowedTCPPorts = [ ];
networking.interfaces.ens18.ipv4.addresses = [
{
address = "192.168.100.41";
prefixLength = 24;
}
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
suricata suricata