services: postgresql-backup: enable with postgres
This commit is contained in:
parent
42e681bb81
commit
1b200779b2
3 changed files with 3 additions and 9 deletions
|
|
@ -13,7 +13,9 @@
|
|||
cfg = config.my.services.postgresql-backup;
|
||||
in {
|
||||
options.my.services.postgresql-backup = {
|
||||
enable = mkEnableOption "Backup SQL databases";
|
||||
enable =
|
||||
(mkEnableOption "Backup SQL databases")
|
||||
// {default = config.services.postgresql.enable;};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue