postgresql: add backup and restore

This commit is contained in:
Jörg Thalheim
2024-06-05 18:37:31 +02:00
parent c550261d40
commit 46530a0a9c
6 changed files with 171 additions and 75 deletions

View File

@@ -8,9 +8,16 @@
default = { };
type = lib.types.attrsOf (
lib.types.submodule (
{ ... }:
{ name, ... }:
{
options = {
name = lib.mkOption {
type = lib.types.str;
default = name;
description = ''
Name of the state
'';
};
folders = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = ''