Compare commits
4 Commits
31858a7d80
...
mob/vega-b
Author | SHA1 | Date | |
---|---|---|---|
1d3487ab96 | |||
2e999e41d9 | |||
bd80062673 | |||
e4bf326191 |
@@ -30,6 +30,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
borgbackup = {
|
||||
module = {
|
||||
name = "borgbackup";
|
||||
input = "clan-core";
|
||||
};
|
||||
roles.client.machines."vega".settings = {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
glom-network = {
|
||||
module = {
|
||||
name = "zerotier";
|
||||
|
@@ -4,6 +4,7 @@
|
||||
(import ../../lib/auto-accept-zerotier-members.nix {
|
||||
memberIds = [
|
||||
"dbe44c0287" # Alex-gateway
|
||||
"b0e0b84fd3" # Alex
|
||||
"2bd36db8cc" # kurogeek-thinkpad
|
||||
];
|
||||
})
|
||||
|
@@ -10,6 +10,7 @@
|
||||
(import ../../lib/auto-accept-zerotier-members.nix {
|
||||
memberIds = [
|
||||
"dbe44c0287" # Alex-gateway
|
||||
"b0e0b84fd3" # Alex
|
||||
"2bd36db8cc" # kurogeek-thinkpad
|
||||
];
|
||||
})
|
||||
|
19
modules/clan/zfs-snapshot-backup/default.nix
Normal file
19
modules/clan/zfs-snapshot-backup/default.nix
Normal 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,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
};
|
||||
};
|
||||
}
|
18
modules/clan/zfs-snapshot-backup/flake-module.nix
Normal file
18
modules/clan/zfs-snapshot-backup/flake-module.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user