!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

502 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant141 Servers

Load older messages


SenderMessageTime
15 Apr 2025
@hexa:lossy.networkhexaand dynamic updates to that23:43:22
@conr:mozilla.orgconroh i see it on leggo23:44:13
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it) @hexa:lossy.network lemme bounce offa your server 23:44:14
@hexa:lossy.networkhexahm?23:44:29
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)nvm doesn't seem to allow https conns23:45:30
@conr:mozilla.orgconr
security.acme = {
  acceptTerms = true;
  defaults.email = "admin@example.org";
  certs = {
    "example.org" = {
      domain = "*.example.org";
      group = "porkbun";
      dnsProvider = "cloudflare";
      # location of your CLOUDFLARE_DNS_API_TOKEN=[value]
      # https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#EnvironmentFile=
      environmentFile = "/home/admin/porkbun";
    };
  };
};

so if i want to use this config, what is my environmentFile look like? api token info?

23:53:06
@conr:mozilla.orgconr * security.acme = {
acceptTerms = true;
defaults.email = "admin@example.org";
certs = {
"example.org" = {
domain = "*.example.org";
group = "nginx";
dnsProvider = "porkbun";
# location of your CLOUDFLARE_DNS_API_TOKEN=[value]
# https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#EnvironmentFile=
environmentFile = "/home/admin/porkbun";
};
};
};
so if i want to use this config, what is my environmentFile look like? api token info?
23:54:14
@conr:mozilla.orgconr * security.acme = {
acceptTerms = true;
defaults.email = "admin@example.org";
certs = {
"example.org" = {
domain = "*.example.org";
group = "nginx";
dnsProvider = "porkbun";
environmentFile = "/home/admin/porkbun";
};
};
};
so if i want to use this config, what is my environmentFile look like? api token info? 23:54:34
@hexa:lossy.networkhexahttps://go-acme.github.io/lego/dns/porkbun/#credentials23:55:03
@conr:mozilla.orgconr is the lego pkg installed too? 23:55:41
@hexa:lossy.networkhexait is what we use behind security.acme23:56:01
@hexa:lossy.networkhexait is implicitly used23:56:05
@conr:mozilla.orgconrok thanks! i’ll try23:56:12
16 Apr 2025
@conr:mozilla.orgconr hm getting this error Failed to determine group credentials: No such process 00:29:18
@conr:mozilla.orgconr what should my /home/admin/porkbun file group permissions be? 00:29:45
@hexa:lossy.networkhexa it is being included via EnvironmentFile= into the systemd unit 00:35:06
@hexa:lossy.networkhexaso it mostly just needs to exist00:35:11
@hexa:lossy.networkhexamaybe in /home does not work because the unit uses ProtectSystem=strict00:35:32
@conr:mozilla.orgconr
In reply to @hexa:lossy.network
it is being included via EnvironmentFile= into the systemd unit
what does this mean?
00:40:08
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)Could you explain that <lego> file?00:41:17
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)* Could you explain that lego file?00:41:34
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)* Could you explain that lego files function?00:42:09
@conr:mozilla.orgconr
PORKBUN_SECRET_API_KEY=xxxxxx \
PORKBUN_API_KEY=yyyyyy \
lego --email you@example.com --dns porkbun -d '*.example.com' -d example.com run
00:42:17
@conr:mozilla.orgconrbut i put the api token i created in it00:42:30
@conr:mozilla.orgconr and it lives here on nixos /home/user/porkbun 00:42:52
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)Oh basically a nix command?00:42:55
@hexa:lossy.networkhexasorry, I cannot support you at that level00:43:56
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)I mean ik Linux commands but not nix specific commandsa00:43:57
@het_dinhe-galju:tchncs.desoftwing 🩷💛🤍💜💙 (he/they/it)* I mean ik Linux commands but not nix specific commands00:44:03
@conr:mozilla.orgconryes its a pkg00:44:07

Show newer messages


Back to Room ListRoom Version: 6