stuff
This commit is contained in:
@@ -22,6 +22,10 @@ in
|
||||
dataDir = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
capacity = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "2T";
|
||||
};
|
||||
sockets = vaculib.mkOutOptions sockets;
|
||||
};
|
||||
config = {
|
||||
@@ -47,7 +51,7 @@ in
|
||||
settings = {
|
||||
data_dir = [ {
|
||||
path = cfg.dataDir;
|
||||
# capacity = "2T";
|
||||
inherit (cfg) capacity;
|
||||
}];
|
||||
replication_factor = 3;
|
||||
consistency_mode = "consistent";
|
||||
|
@@ -7,6 +7,7 @@
|
||||
vacu.garage = {
|
||||
rpcPort = 9060;
|
||||
dataDir = "/propdata/garage-data";
|
||||
capacity = "10T";
|
||||
};
|
||||
|
||||
users.users.${config.services.caddy.user}.extraGroups = [ "garage-sockets" ];
|
||||
|
@@ -8,6 +8,7 @@
|
||||
# vacu.garage = {
|
||||
# rpcPort = 26950;
|
||||
# dataDirectory = "/propdata/garage-data";
|
||||
# capacity = "2.5T";
|
||||
# };
|
||||
#
|
||||
# users.users.${config.services.caddy.user}.extraGroups = [ "garage-sockets" ];
|
||||
|
@@ -12,6 +12,7 @@
|
||||
vacu.garage = {
|
||||
rpcPort = 1978;
|
||||
dataDir = "/trip/garage-data";
|
||||
capacity = "10T";
|
||||
};
|
||||
vacu.proxiedServices.s3-garage = {
|
||||
unixSocket = config.vacu.garage.sockets.s3;
|
||||
|
Reference in New Issue
Block a user