3 Commits

Author SHA1 Message Date
1d3487ab96 mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/zfs-snapshot-backup/default.nix
2025-10-10 22:03:20 +07:00
2e999e41d9 mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/zfs-snapshot-backup/default.nix
2025-10-10 17:01:14 +07:00
bd80062673 mob next [ci-skip] [ci skip] [skip ci]
lastFile:inventories/default.nix
2025-10-10 16:48:19 +07:00
3 changed files with 47 additions and 0 deletions

View File

@@ -30,6 +30,16 @@
};
};
borgbackup = {
module = {
name = "borgbackup";
input = "clan-core";
};
roles.client.machines."vega".settings = {
};
};
glom-network = {
module = {
name = "zerotier";

View File

@@ -0,0 +1,19 @@
{ ... }:
{
_class = "clan.service";
manifest.name = "zfs-snapshot-backup";
manifest.description = "Service to backup ZFS Snapshot on a remote machines";
manifest.categories = [ "System" ];
roles.default = {
perInstance.nixosModule =
{
lib,
config,
...
}:
{
};
};
}

View File

@@ -0,0 +1,18 @@
{ lib, ... }:
let
module = lib.modules.importApply ./default.nix { };
in
{
clan.modules = {
zfs-snapshot-backup = module;
};
perSystem =
{ ... }:
{
clan.nixosTests.zfs-snapshot-backup = {
imports = [ ./tests/vm/default.nix ];
clan.modules."@clan/zfs-snapshot-backup" = module;
};
};
}