mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: changed config module names
This commit is contained in:
parent
95346caae6
commit
7a6685cbc2
34 changed files with 123 additions and 123 deletions
|
@ -4,18 +4,18 @@
|
|||
...
|
||||
}: let
|
||||
inherit (flake.config.people) user0;
|
||||
inherit (flake.config.people.user.${user0}) email;
|
||||
inherit (flake.config.service) instance;
|
||||
inherit (flake.config.people.users.${user0}) email;
|
||||
inherit (flake.config.services) instances;
|
||||
|
||||
domain0 = instance.web.domains.url0;
|
||||
domain1 = instance.web.domains.url1;
|
||||
dns = instance.web.dns.provider0;
|
||||
domain0 = instances.web.domains.url0;
|
||||
domain1 = instances.web.domains.url1;
|
||||
dns = instances.web.dns.provider0;
|
||||
|
||||
instanceName = service: (instance.${service}.subdomain);
|
||||
instanceName = service: (instances.${service}.subdomain);
|
||||
|
||||
dnsConfig = {
|
||||
dnsProvider = dns;
|
||||
directory = instance.acme.paths.path0;
|
||||
directory = instances.acme.paths.path0;
|
||||
environmentFile = config.sops.secrets."dns/namecheap".path;
|
||||
};
|
||||
in {
|
||||
|
@ -68,7 +68,7 @@ in {
|
|||
sops = let
|
||||
sopsSecrets = ["pass"];
|
||||
sopsPath = secret: {
|
||||
path = "/var/lib/secrets/${instance.acme.name}/${dns}-${secret}";
|
||||
path = "/var/lib/secrets/${instances.acme.name}/${dns}-${secret}";
|
||||
owner = "root";
|
||||
mode = "600";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue