mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
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:
parent
3bbd074217
commit
0412bde942
59 changed files with 71 additions and 175 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue