| 16 Apr 2025 |
conr | one sec | 02:20:11 |
conr | security.acme = {
acceptTerms = true;
defaults.email = "conor+acme@domain.com";
certs = {
"conr.run" = {
domain = "domain.com";
group = "nginx";
dnsProvider = "porkbun";
environmentFile = "/var/lib/private/porkbun";
};
};
}
| 02:24:31 |
@hexa:lossy.network | so it complains about the group | 02:25:23 |
@hexa:lossy.network | the nginx group apparently does not exist | 02:25:28 |
conr | In reply to @hexa:lossy.network the nginx group apparently does not exist should i added it to my extraGroups = [ββ] array? | 02:28:13 |
@hexa:lossy.network | drop the group | 02:29:44 |
@hexa:lossy.network | https://wiki.nixos.org/wiki/Home_Assistant#Reverse_Proxying_with_nginx | 02:29:46 |
@hexa:lossy.network | use that snippet | 02:29:49 |
@hexa:lossy.network | replace enableACME = true with useACMEHost = "conr.run" | 02:30:30 |
conr | ok | 02:40:27 |
| Hayden R. (they/them) changed their display name from softwing π©·ππ€ππ (they/it) to softwing π©·ππ€ππ (he/they/it/she). | 02:40:31 |
conr | hexa: do i need the lego command too? or just the first too lines?
PORKBUN_SECRET_API_KEY=xxxxxx \
PORKBUN_API_KEY=yyyyyy \
lego --email you@example.com --dns porkbun -d '*.example.com' -d example.com run
``
| 02:41:34 |
@hexa:lossy.network | you seem to misunderstand nixos services | 02:41:57 |
@hexa:lossy.network | we are a declarative os | 02:42:03 |
@hexa:lossy.network | no imperative commands need to be run | 02:42:09 |
conr | right thats what i thought | 02:43:46 |
conr | so i am getting a
2025/04/15 21:40:37 porkbun: some credentials info>
Apr 15 21:40:37 jubjub acme-jubjub.conr.run-start[48440]: + echo Failed to fetch certificates. This may mean>
Apr 15 21:40:37 jubjub acme-jubjub.conr.run-start[48440]: Failed to fetch certificates. This may mean your D>
Apr 15 21:40:37 jubjub acme-jubjub.conr.run-start[48440]: + exit 10
| 02:44:53 |
conr | @hexa does your porkbun file look like this?
PORKBUN_SECRET_API_KEY=pk1_1234β¦ \
PORKBUN_API_KEY=sk1_1234β¦ \
| 02:46:24 |
@hexa:lossy.network | please | 02:46:31 |
@hexa:lossy.network | stop | 02:46:31 |
@hexa:lossy.network | mentioning me | 02:46:32 |
@hexa:lossy.network | it is annoying | 02:46:35 |
conr | ok sorry | 02:46:39 |
@hexa:lossy.network | I am right here and it makes BLING every time | 02:46:41 |
conr | i wonβt no m | 02:46:52 |
conr | anymore | 02:46:59 |
@hexa:lossy.network | the traling backslashes imply line continuation | 02:47:16 |
@hexa:lossy.network | they don't make sense | 02:47:21 |
conr | ok yeah if they are in a file then they donβt need to be | 02:47:45 |
conr | i think i almost got it, txt record created in porkbun but nix just hangs on restarting sysinit-reactivation.target | 03:11:39 |