update: deploy garage to baldur
This commit is contained in:
parent
e71dce74ff
commit
dd9035f621
3 changed files with 24 additions and 36 deletions
|
|
@ -11,17 +11,17 @@
|
|||
3901
|
||||
];
|
||||
|
||||
# Not correctly passing mount bindings
|
||||
systemd.services.garage.serviceConfig = {
|
||||
ProtectHome = lib.mkForce false;
|
||||
DynamicUser = false;
|
||||
};
|
||||
# # Not correctly passing mount bindings
|
||||
# systemd.services.garage.serviceConfig = {
|
||||
# ProtectHome = lib.mkForce false;
|
||||
# DynamicUser = false;
|
||||
# };
|
||||
|
||||
services.garage = {
|
||||
enable = true;
|
||||
package = pkgs.garage_2;
|
||||
settings = {
|
||||
data_dir = "/mnt/raid/garage/";
|
||||
# data_dir = "/mnt/raid/garage/";
|
||||
replication_factor = 1;
|
||||
rpc_secret_file = config.age.secrets.garage_rpc_secret.path;
|
||||
rpc_bind_addr = "0.0.0.0:3901";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue