Cleanup
Addressed some things nixd complained about
This commit is contained in:
parent
7d8c009c64
commit
b9b996bd66
25 changed files with 145 additions and 187 deletions
|
@ -1,18 +1,17 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
format,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.services.adguardhome;
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption mkOption types;
|
||||
|
||||
cfg = config.${namespace}.services.adguardhome;
|
||||
in {
|
||||
options.aa.services.adguardhome = with types; {
|
||||
options.${namespace}.services.adguardhome = {
|
||||
enable = mkEnableOption "adguardhome";
|
||||
acmeCertName = mkOption {
|
||||
type = str;
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = ''
|
||||
If set to a non-empty string, forces SSL with the supplied acme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue