dotfiles/config/sampledb.nix
2024-09-15 21:54:46 -07:00

22 lines
500 B
Nix

{ config, pkgs, inputs, ... }: {
imports = [
../hardware/sampledb.nix
./headless.nix
];
users.users.sampledb = import ./user.nix;
networking.hostName = "sampledb-dev";
# 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.ens18.ipv4.addresses = [
{
address = "192.168.100.7";
prefixLength = 24;
}
];
}