1
Fork 0

Update to nixpgks 24.05

This commit is contained in:
prescientmoon 2024-07-26 20:18:26 +02:00
parent 5247160b43
commit a6293a1ba4
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
46 changed files with 475 additions and 991 deletions
modules/nixos

11
modules/nixos/README.md Normal file
View file

@ -0,0 +1,11 @@
# Nixos modules
| Name | Attribute | Description |
| ------------------------------------ | ----------------------- | ------------------------------------ |
| [pounce](pounce.nix) | `services.pounce` | Pounce & calico configuration |
| [nginx](nginx.nix) | `satellite.nginx` | Nginx configuration |
| [ports](ports.nix) | `satellite.ports` | Global port specification |
| [cloudflared](cloudflared.nix) | `satellite.cloudflared` | Cloudflare tunnel configuration |
| [pilot](pilot.nix) | `satellite.pilot` | Defines the concept of a "main user" |
| [dns](dns.nix) | `satellite.dns` | DNS record creation |
| [dns-assertions](dns-assertions.nix) | `satellite.dns` | DNS record validation |

View file

@ -91,7 +91,7 @@ in
type = "CNAME";
zone = cfg.domain;
at = subdomain;
to = config.networking.hostName;
to = "${config.networking.hostName}.${cfg.domain}.";
};
in lib.attrsets.mapAttrsToList (_: mkDnsRecord) cfg.at;
};