Add a generic backup solution.

This commit is contained in:
Lorenzo Good 2025-01-26 18:59:08 -06:00
parent d07ba813bf
commit a3aa93106a
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
2 changed files with 15 additions and 0 deletions

11
nixos/common/backups.nix Normal file
View file

@ -0,0 +1,11 @@
{lib, ...}: let
inherit (lib) mkOption types;
in {
# Generic Backups.
options.foehammer.backups = {
paths = mkOption {
type = types.nullOr (types.listOf types.str);
default = [];
};
};
}