1fe43f5802
persistence: Rename module
...
`impermanence` -> `persistence`
2025-11-11 15:29:17 +01:00
3fd0e85151
meta/ports: Rename list options
2025-11-11 13:23:58 +01:00
dfeb11dfbd
caddy: Add file-server capabilities
2025-11-08 22:11:45 +01:00
8c138d274f
caddy: Remove unnecessary enable option
2025-11-08 21:34:42 +01:00
39bd59c8ee
caddy: Fix hard coded metrics port
2025-11-07 11:35:32 +01:00
93bae9b48c
caddy: Fix hash
2025-11-04 00:23:52 +01:00
d3dbe02b01
caddy: Only install tailscale plugin when tailscale hosts exist
2025-11-03 23:35:10 +01:00
145e76cec7
caddy: Simplify with HostsExist variables
2025-11-03 23:34:34 +01:00
4a7e655f71
caddy: Remove wildcard support
...
Supporting wildcards has proven more trouble than it's worth. While convenient when setting up new domains, it makes the module harder to maintain and makes adding features more difficult.
2025-10-22 22:37:20 +02:00
ac48782b56
Use builtins.groupBy over lib.groupBy because of performance
...
See https://github.com/NixOS/nix/pull/5715
2025-10-17 17:01:22 +02:00
671a13239a
Implement global custom libs as a flake output
2025-10-17 10:57:32 +02:00
4e65984e37
caddy: Remove unused option
2025-10-15 23:07:46 +02:00
8c811bc03e
caddy: Actually use global custom libs
2025-10-13 18:22:56 +02:00
8807d38b57
Add custom libs subdomainOf and rootDomainOf
2025-10-12 23:15:32 +02:00
f3ea2b75e6
Add custom isTailscaleDomain lib
2025-10-12 20:36:18 +02:00
c3cfcf1b61
Replace builtins.toString with toString
2025-10-09 21:35:41 +02:00
c18caea0de
caddy: Refactor
2025-10-09 21:28:16 +02:00
2531d57194
caddy: Remove tls and reverse-proxy-config options for now
2025-10-09 20:17:50 +02:00
e46ae6297c
caddy: Replace unnecessary pipes
2025-10-09 00:33:49 +02:00
65284294b1
caddy: Add fallback handler to wildcard domains
2025-10-08 23:35:38 +02:00
e383ee383b
caddy: Remove encode
...
Apparently `encode` does nothing when you only use caddy as a reverse proxy
2025-10-08 23:14:16 +02:00
9f4b5b73ed
caddy: Rename option metrics.port to metricsPort
2025-10-05 00:42:09 +02:00
fc61676f7c
caddy: Compress by default
2025-09-28 11:52:57 +02:00
8ecd6e51e6
caddy: Refactor slightly
2025-09-23 20:23:58 +02:00
3d0d4ea31d
caddy: Expose metrics without the admin api
2025-09-23 13:31:26 +02:00
c917eed038
caddy: Use wildcard certificate for non tailscale domains
2025-09-23 13:05:39 +02:00
926716e7e5
caddy: Expose metrics
2025-09-22 00:27:23 +02:00
4f0fea5461
tailscale: Add restart triggers
2025-09-17 22:34:47 +02:00
c6172d5556
impermanence: Persist caddy, gatus and tailscale state
2025-09-07 23:39:40 +02:00
c2a8f8475f
caddy: Make tailscale hosts ephemeral
2025-09-07 23:36:37 +02:00
0209856439
caddy: Fix virtual host generation
2025-09-07 20:46:29 +02:00
fceb6ae418
Replace string concatenation with string interpolation
2025-09-06 00:25:57 +02:00
13e40968f6
caddy: Fix tailscale plugin hash
2025-09-01 23:15:18 +02:00
765b7fdd68
caddy: Follow convention of using mkEnableOption for boolean options
2025-08-31 20:34:50 +02:00
e288bb2bf3
meta/ports: Separate tcp and udp lists to avoid false conflicts
2025-08-28 17:44:00 +02:00
db0569680e
caddy: Replace option protocol with tls
2025-08-27 21:08:17 +02:00
533f67e14b
caddy: Fix extraReverseProxyConfig option
2025-08-27 21:03:53 +02:00
5d2d29d16d
caddy: Allow for protocol selection
2025-08-24 17:46:32 +02:00
750bfda48e
caddy: Update tailscale plugin
2025-08-11 15:28:56 +02:00
14b0e0ac1d
Make more use of pipes
2025-08-10 00:21:05 +02:00
062fd5de0b
refactor: normalize usage of lib and builtins namespaces
2025-07-22 22:58:18 +02:00
d14732b063
sops: restructure secrets files
2025-07-20 19:56:52 +02:00
74cb6b3cb1
Fix caddy-tailscale hash
2025-07-10 10:36:55 +02:00
155b9b2a30
Always disable caddy's admin endpoint
2025-07-05 20:48:19 +02:00
56b28f055d
Improve domain conflict messages by setting domains per service
2025-07-05 20:41:55 +02:00
f160a9be33
Add uniqueness check for domains
2025-06-14 01:53:24 +02:00
232c9aa946
Add uniqueness check for ports
...
Credit to https://lorenzbischof.ch/posts/detect-port-conflicts-in-nixos-services/
2025-06-14 01:52:54 +02:00
a4c3e2a829
Disable caddy's admin api endpoint
2025-06-14 01:03:43 +02:00
563506d670
Remove tailscale_auth to allow access from tagged devices
2025-06-08 19:01:22 +02:00
da9008c379
Extract mkVirtualHostConfig function
2025-06-06 21:52:34 +02:00