Updated networking for r330-logging
This commit is contained in:
parent
14372a2bfd
commit
d958621a79
@ -3,21 +3,15 @@
|
||||
imports = [
|
||||
../hardware/logging.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;
|
||||
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; [
|
||||
suricata
|
||||
|
Loading…
x
Reference in New Issue
Block a user