Litenet-Nix-Infra/host/matrix/configuration.nix
2024-07-20 10:15:19 +02:00

31 lines
447 B
Nix
Executable file

{
config,
pkgs,
lib,
...
}:
{
imports = [
../../modules/base-server.nix
./postgres.nix
./matrix/root.nix
./nginx/nginx.nix
];
networking = {
hostName = "matrix";
interfaces.ens18.ipv4.addresses = [
{
address = "10.10.0.3";
prefixLength = 8;
}
];
defaultGateway.interface = "ens18";
};
services.ooye.enable = false;
system.stateVersion = "22.11"; # DO NOT EDIT!
}