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;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.services.skynet_acme;
|
cfg = config.skynet_acme;
|
||||||
in {
|
in {
|
||||||
imports = [];
|
imports = [];
|
||||||
|
|
||||||
options.services.skynet_acme = {
|
options.skynet_acme = {
|
||||||
domains = lib.mkOption {
|
domains = lib.mkOption {
|
||||||
default = [ ];
|
default = [ ];
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;
|
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;
|
||||||
|
|
||||||
skynet_acme.domains = [
|
skynet_acme.domains = [
|
||||||
"mail.${cfg.domain.domain}"
|
"${cfg.sub}.${cfg.domain}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# set up dns record for it
|
# set up dns record for it
|
||||||
|
|
Loading…
Reference in a new issue