blob: b0234142e35708cea2a2e9b9aae9b9616ca13757 (
plain)
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
47
48
49
50
51
52
53
|
{ config, lib, ... }:
{
imports = [
# nixos-anywhere generates this file
./hardware-configuration.nix
../../disko/vda-simple.nix
../../modules/default.nix
../home.nix
];
config = {
monorepo = {
profiles = {
server.enable = true;
ttyonly.enable = true;
grub.enable = true;
};
};
networking = {
firewall.allowedTCPPorts = [
80
443
465
993
8448
6697
6667
];
domains = {
enable = true;
baseDomains = {
"${config.monorepo.vars.remoteHost}" = {
a.data = "66.42.84.130";
aaaa.data = "2001:19f0:5401:10d0:5400:5ff:fe4a:7794";
};
"nullring.xyz" = {
a.data = "66.42.84.130";
aaaa.data = "2001:19f0:5401:10d0:5400:5ff:fe4a:7794";
};
};
subDomains = {
"${config.monorepo.vars.remoteHost}" = {};
"matrix.${config.monorepo.vars.remoteHost}" = {};
"www.${config.monorepo.vars.remoteHost}" = {};
"mail.${config.monorepo.vars.remoteHost}" = {};
"nullring.xyz" = {};
"talk.nullring.xyz" = {};
"ret2pop.nullring.xyz" = {};
};
};
};
};
}
|