housekeeping
This commit is contained in:
@@ -29,4 +29,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -14,4 +14,3 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,4 +24,4 @@
|
|||||||
# intel-compute-runtime-legacy1
|
# intel-compute-runtime-legacy1
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -24,4 +24,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
where = config.vars.nfs_mount;
|
where = config.vars.nfs_mount;
|
||||||
|
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
@@ -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,8 +43,8 @@ with lib;
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
interfaces = mkOption {
|
interfaces = mkOption {
|
||||||
type = listOf types.str;
|
type = types.listOf types.str;
|
||||||
};
|
};
|
||||||
|
|
||||||
# KEEPALIVED
|
# KEEPALIVED
|
||||||
ka_addr_v4 = mkOption {
|
ka_addr_v4 = mkOption {
|
||||||
@@ -75,4 +75,4 @@ with lib;
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user