summaryrefslogtreecommitdiff
path: root/modules/backup-utils.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-13 15:42:35 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-13 15:42:35 +0100
commit6e820741126c9c8b156cf8f9fe285e96cafb3138 (patch)
treede2b4aeaff584420f2410ce47e0f906f68e79387 /modules/backup-utils.nix
parentb9e6f77db0871da3c72928619395590b28ea0181 (diff)
downloadnixos-6e820741126c9c8b156cf8f9fe285e96cafb3138.tar
nixos-6e820741126c9c8b156cf8f9fe285e96cafb3138.tar.gz
nixos-6e820741126c9c8b156cf8f9fe285e96cafb3138.tar.bz2
nixos-6e820741126c9c8b156cf8f9fe285e96cafb3138.tar.xz
nixos-6e820741126c9c8b156cf8f9fe285e96cafb3138.zip
spin off backup-utils
Diffstat (limited to 'modules/backup-utils.nix')
-rw-r--r--modules/backup-utils.nix13
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
3with 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}