mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Rename option "healthchecks.enable" to "doHealthchecks"
This commit is contained in:
parent
08fc6f4937
commit
cb8da9e93a
1 changed files with 2 additions and 2 deletions
|
|
@ -8,13 +8,13 @@ let
|
||||||
backupsWithHealthchecks =
|
backupsWithHealthchecks =
|
||||||
config.custom.services.resticBackups
|
config.custom.services.resticBackups
|
||||||
|> lib.filterAttrs (_: value: value.enable)
|
|> lib.filterAttrs (_: value: value.enable)
|
||||||
|> lib.filterAttrs (_: value: value.healthchecks.enable);
|
|> lib.filterAttrs (_: value: value.doHealthchecks);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.custom.services.resticBackups = lib.mkOption {
|
options.custom.services.resticBackups = lib.mkOption {
|
||||||
type = lib.types.attrsOf (
|
type = lib.types.attrsOf (
|
||||||
lib.types.submodule {
|
lib.types.submodule {
|
||||||
options.healthchecks.enable = lib.mkEnableOption "" // {
|
options.doHealthchecks = lib.mkEnableOption "" // {
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue