aboutsummaryrefslogtreecommitdiff
path: root/nix/systems/spontaneity
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-18 22:38:45 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-18 22:38:45 -0800
commit6f8dc8ecbeae8690a6e92a0a44916e6e17ba950f (patch)
treed874bc15e52cb201aaac3a82e948061fe93625a0 /nix/systems/spontaneity
parentf36be340c309f413f095f3ba704b3188c92ffdd9 (diff)
octodns-cloudflare works with configHEADmain
Diffstat (limited to 'nix/systems/spontaneity')
-rw-r--r--nix/systems/spontaneity/default.nix39
1 files changed, 27 insertions, 12 deletions
diff --git a/nix/systems/spontaneity/default.nix b/nix/systems/spontaneity/default.nix
index a40c53a..759782b 100644
--- a/nix/systems/spontaneity/default.nix
+++ b/nix/systems/spontaneity/default.nix
@@ -3,22 +3,37 @@
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;
+ config = {
+ monorepo = {
+ profiles = {
+ server.enable = true;
+ ttyonly.enable = true;
+ grub.enable = true;
+ };
+ };
+ networking = {
+ firewall.allowedTCPPorts = [
+ 80
+ 443
+ ];
+ domains = {
+ enable = true;
+ baseDomains = {
+ "${config.monorepo.vars.remoteHost}" = {
+ 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}" = {};
+ };
+ };
};
};
- config.networking.firewall.allowedTCPPorts = [
- 80
- 443
- ];
}