31 lines
455 B
Nix
Executable file
31 lines
455 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.matrix-ooye.enable = false;
|
|
|
|
system.stateVersion = "22.11"; # DO NOT EDIT!
|
|
}
|