fix: wasnt compiling
This commit is contained in:
parent
ea81827375
commit
62689132d3
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue