exim: fix for manual

This commit is contained in:
tv 2021-11-08 04:47:47 +01:00
parent 6940c3ac83
commit d7f44debbd

View File

@ -14,7 +14,7 @@ let
default = {}; default = {};
type = types.attrsOf (types.submodule ({ config, ... }: { type = types.attrsOf (types.submodule ({ config, ... }: {
options = { options = {
enable = mkEnableOption "krebs.backup.${config.name}" // { enable = mkEnableOption "krebs.backup.${config._module.args.name}" // {
default = true; default = true;
}; };
method = mkOption { method = mkOption {
@ -23,6 +23,7 @@ let
name = mkOption { name = mkOption {
type = types.str; type = types.str;
default = config._module.args.name; default = config._module.args.name;
defaultText = "name";
}; };
src = mkOption { src = mkOption {
type = types.krebs.file-location; type = types.krebs.file-location;