Compare commits

..

No commits in common. "210af3b9499057e99ac9e41e681f5b56235cbc19" and "2fb69448b212f08492cb43da66f1f207181786f4" have entirely different histories.

View file

@ -95,6 +95,7 @@
"azure"
"b2"
];
# default = "b2";
};
healthcheck = lib.options.mkOption {
type = lib.types.submodule {
@ -159,14 +160,6 @@
paths = lib.options.mkOption {
type = lib.types.listOf lib.types.str;
};
preCommand = lib.options.mkOption {
type = lib.types.lines;
default = "";
};
postCommand = lib.options.mkOption {
type = lib.types.lines;
default = "";
};
};
}
);
@ -321,13 +314,7 @@
backup.excludes;
paths = lib.strings.concatStringsSep " " backup.paths;
in
''
${backup.preCommand}
${package}/bin/restic backup${one-file-system}${excludes} ${paths}
${backup.postCommand}
''
"${package}/bin/restic backup${one-file-system}${excludes} ${paths}"
)
cfg.backups
);