configured syncoid
This commit is contained in:
parent
f76b52d2fe
commit
386198098f
2 changed files with 15 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../system/server
|
../../system/server
|
||||||
./disko-config.nix
|
./disko-config.nix
|
||||||
|
./disko-syncoid.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|
||||||
./network-wireguard.nix
|
./network-wireguard.nix
|
||||||
|
|
14
nixos/machines/chungus/disko-syncoid.nix
Normal file
14
nixos/machines/chungus/disko-syncoid.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.syncoid = {
|
||||||
|
enable = true;
|
||||||
|
commands.service2 = {
|
||||||
|
source = "zroot/services2";
|
||||||
|
target = "zraid/mirror/services2";
|
||||||
|
};
|
||||||
|
commonArgs = [
|
||||||
|
"--no-sync-snap"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue