treewide: add bool type to enable options, or make use of mkEnableOption

Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
This commit is contained in:
Dominik Xaver Hörl 2020-04-20 20:05:26 +02:00
parent 3bbd074217
commit 0412bde942
59 changed files with 71 additions and 175 deletions

View file

@ -44,12 +44,7 @@ in {
options = {
services.postgresqlBackup = {
enable = mkOption {
default = false;
description = ''
Whether to enable PostgreSQL dumps.
'';
};
enable = mkEnableOption "PostgreSQL dumps";
startAt = mkOption {
default = "*-*-* 01:15:00";