35 lines
572 B
Nix
35 lines
572 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
networking.hostName = "redmine";
|
|
networking.domain = "test.htw.stura-dresden.de";
|
|
networking.interfaces.ens18.ipv4.addresses = [
|
|
{
|
|
address = "141.56.51.1235";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
networking.defaultGateway.address = "141.56.51.254";
|
|
|
|
|
|
security.acme.acceptTerms = true;
|
|
security.acme.defaults.email = "cert@stura.htw-dresden.de";
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
25
|
|
80
|
|
443
|
|
597
|
|
];
|
|
|
|
system.stateVersion = "24.11";
|
|
|
|
}
|