Updated networking for sampledb and media

This commit is contained in:
Random936
2024-10-31 13:23:46 -07:00
parent 0b5337ec0f
commit 1ce83d0f37
5 changed files with 53 additions and 37 deletions

View File

@@ -3,22 +3,13 @@
imports = [
../hardware/media.nix
./headless.nix
(import ./networking.nix {
hostname = "sampledb-dev";
ip_address = "192.168.100.40";
})
];
users.users.media = import ./user.nix;
networking.hostName = "r330-media";
# Conigure a static IP address.
networking.defaultGateway = "192.168.100.1";
networking.nameservers = [ "192.168.100.1" ];
networking.firewall.allowedTCPPorts = [ 80 443 32400 ];
networking.interfaces.enp6s18.ipv4.addresses = [
{
address = "192.168.100.40";
prefixLength = 24;
}
];
# Setup drivers for NVIDIA GPU
services.xserver = {