mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11: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 =
|
||||
config.custom.services.resticBackups
|
||||
|> lib.filterAttrs (_: value: value.enable)
|
||||
|> lib.filterAttrs (_: value: value.healthchecks.enable);
|
||||
|> lib.filterAttrs (_: value: value.doHealthchecks);
|
||||
in
|
||||
{
|
||||
options.custom.services.resticBackups = lib.mkOption {
|
||||
type = lib.types.attrsOf (
|
||||
lib.types.submodule {
|
||||
options.healthchecks.enable = lib.mkEnableOption "" // {
|
||||
options.doHealthchecks = lib.mkEnableOption "" // {
|
||||
default = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue