blob: ea023d66c6def37407527d00e6d9a3a0932e497f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ config, pkgs, lib, conduit, ... }:
{
imports =
[
../../modules/base-server.nix
../../modules/users/levi.nix
../../modules/users/db2k.nix
../../modules/users/ks.nix
./services/postgres.nix
./services/discordbots.nix
./services/matrix/root.nix
./services/nginx/nginx.nix
./services/jitsi.nix
./services/cgit.nix
];
users.groups.ocp = {};
networking = {
hostName = "Rory-nginx";
interfaces.ens18.ipv4.addresses = [ {
address = "192.168.1.2";
prefixLength = 24;
} ];
interfaces.ens19.ipv4.addresses = [ {
address = "10.10.10.2";
prefixLength = 16;
} ];
defaultGateway.interface = "ens18";
# extraHosts = ''
# 127.0.0.1 rory.gay
# 127.0.0.1 matrix.rory.gay
# 127.0.0.1 conduit.rory.gay
# '';
};
containers."pluralcontactbotpoc" = import ./services/containers/pluralcontactbotpoc/container.nix {
inherit pkgs lib conduit;
};
containers."matrixunittests" = import ./services/containers/matrixunittests/container.nix {
inherit pkgs lib conduit;
};
system.stateVersion = "22.11"; # DO NOT EDIT!
}
|