diff --git a/config/config.nix b/config/config.nix deleted file mode 100644 index f420778..0000000 --- a/config/config.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, pkgs, inputs, ... }: { - - imports = [ - ../hardware/media.nix - ./headless.nix - ]; - - users.users.media = import ./user.nix; - networking.hostName = "r330-media"; - - # Conigure a static IP address. - networking.defaultGateway = "192.168.8.1"; - networking.nameservers = [ "192.168.8.1" ]; - networking.firewall.allowedTCPPorts = [ 80 443 32400 ]; - networking.interfaces.ens18.ipv4.addresses = [ - { - address = "192.168.8.5"; - prefixLength = 24; - } - ]; -} diff --git a/config/logging.nix b/config/logging.nix index 49cf6bb..a209fdb 100644 --- a/config/logging.nix +++ b/config/logging.nix @@ -9,12 +9,12 @@ networking.hostName = "r330-logging"; # Conigure a static IP address. - networking.defaultGateway = "192.168.8.1"; - networking.nameservers = [ "192.168.8.1" ]; + networking.defaultGateway = "192.168.100.1"; + networking.nameservers = [ "192.168.100.1" ]; #networking.firewall.allowedTCPPorts = [ ]; networking.interfaces.ens18.ipv4.addresses = [ { - address = "192.168.8.8"; + address = "192.168.100.8"; prefixLength = 24; } ]; diff --git a/config/media.nix b/config/media.nix index f621dab..0eb474a 100644 --- a/config/media.nix +++ b/config/media.nix @@ -9,12 +9,12 @@ networking.hostName = "r330-media"; # Conigure a static IP address. - networking.defaultGateway = "192.168.8.1"; - networking.nameservers = [ "192.168.8.1" ]; + networking.defaultGateway = "192.168.100.1"; + networking.nameservers = [ "192.168.100.1" ]; networking.firewall.allowedTCPPorts = [ 80 443 32400 ]; networking.interfaces.ens18.ipv4.addresses = [ { - address = "192.168.8.5"; + address = "192.168.100.5"; prefixLength = 24; } ]; diff --git a/config/sampledb.nix b/config/sampledb.nix index c8a9128..0b17074 100644 --- a/config/sampledb.nix +++ b/config/sampledb.nix @@ -9,12 +9,12 @@ networking.hostName = "sampledb-dev"; # Conigure a static IP address. - networking.defaultGateway = "192.168.8.1"; - networking.nameservers = [ "192.168.8.1" ]; + networking.defaultGateway = "192.168.100.1"; + networking.nameservers = [ "192.168.100.1" ]; networking.firewall.allowedTCPPorts = [ 80 443 32400 ]; networking.interfaces.ens18.ipv4.addresses = [ { - address = "192.168.8.7"; + address = "192.168.100.7"; prefixLength = 24; } ];