diff options
Diffstat (limited to 'modules/backup-utils.nix')
-rw-r--r-- | modules/backup-utils.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/backup-utils.nix b/modules/backup-utils.nix new file mode 100644 index 00000000..82a42ecd --- /dev/null +++ b/modules/backup-utils.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | { flakeInputs, hostName, lib, ... }: | ||
2 | |||
3 | with lib; | ||
4 | |||
5 | { | ||
6 | imports = [ | ||
7 | flakeInputs.backup-utils.nixosModules.default | ||
8 | ]; | ||
9 | |||
10 | config = { | ||
11 | services.borgsnap.archive-prefix = mkDefault "yggdrasil.${hostName}."; | ||
12 | }; | ||
13 | } | ||