5 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
e4bf326191 add Alex's laptop to networks 2025-10-10 15:38:28 +07:00
04fafa32d3 update kurogeek thinkpad zerotier id 2025-10-09 16:42:23 +07:00
5 changed files with 51 additions and 2 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

@@ -4,7 +4,8 @@
(import ../../lib/auto-accept-zerotier-members.nix {
memberIds = [
"dbe44c0287" # Alex-gateway
"1b495eede9" # kurogeek-thinkpad
"b0e0b84fd3" # Alex
"2bd36db8cc" # kurogeek-thinkpad
];
})
];

View File

@@ -10,7 +10,8 @@
(import ../../lib/auto-accept-zerotier-members.nix {
memberIds = [
"dbe44c0287" # Alex-gateway
"1b495eede9" # kurogeek-thinkpad
"b0e0b84fd3" # Alex
"2bd36db8cc" # kurogeek-thinkpad
];
})
];

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;
};
};
}