housekeeping
This commit is contained in:
@@ -14,4 +14,3 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services.zrepl = {
|
|
||||||
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
global = {
|
|
||||||
logging = [{
|
|
||||||
# use syslog instead of stdout because it makes journald happy
|
|
||||||
type = "syslog";
|
|
||||||
format = "human";
|
|
||||||
level = "info";
|
|
||||||
}];
|
|
||||||
};
|
|
||||||
|
|
||||||
jobs = [{
|
|
||||||
type = "source";
|
|
||||||
name = "pullsource";
|
|
||||||
send = {
|
|
||||||
encrypted = true;
|
|
||||||
};
|
|
||||||
serve = {
|
|
||||||
type = "stdinserver";
|
|
||||||
client_identities = [ "siredward" ];
|
|
||||||
};
|
|
||||||
filesystems = {
|
|
||||||
"SERVICE/volumes" = true;
|
|
||||||
};
|
|
||||||
snapshotting = {
|
|
||||||
type = "periodic";
|
|
||||||
prefix = "SN_";
|
|
||||||
interval = "1h";
|
|
||||||
};
|
|
||||||
}];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.zrepl ];
|
|
||||||
services.nfs.server.enable = true;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -43,7 +43,7 @@ with lib;
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
interfaces = mkOption {
|
interfaces = mkOption {
|
||||||
type = listOf types.str;
|
type = types.listOf types.str;
|
||||||
};
|
};
|
||||||
|
|
||||||
# KEEPALIVED
|
# KEEPALIVED
|
||||||
|
|||||||
Reference in New Issue
Block a user