update: deploy garage to baldur

This commit is contained in:
Filippo Berto 2025-10-13 13:53:36 +02:00
parent e71dce74ff
commit dd9035f621
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC
3 changed files with 24 additions and 36 deletions

View file

@ -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";