fix: wasnt compiling

This commit is contained in:
silver 2023-08-06 20:29:24 +01:00
parent ea81827375
commit 62689132d3
2 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.skynet_acme;
cfg = config.skynet_acme;
in {
imports = [];
options.services.skynet_acme = {
options.skynet_acme = {
domains = lib.mkOption {
default = [ ];
type = lib.types.listOf lib.types.str;

View file

@ -98,7 +98,7 @@
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;
skynet_acme.domains = [
"mail.${cfg.domain.domain}"
"${cfg.sub}.${cfg.domain}"
];
# set up dns record for it