Add a generic backup solution.
This commit is contained in:
parent
d07ba813bf
commit
a3aa93106a
2 changed files with 15 additions and 0 deletions
11
nixos/common/backups.nix
Normal file
11
nixos/common/backups.nix
Normal 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 = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue