update(garage): deplyment on baldur and heimdall

This commit is contained in:
Filippo Berto 2025-10-26 20:41:46 +01:00
parent 00d3d2d3f8
commit 44d237f20a
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC
2 changed files with 7 additions and 6 deletions

View file

@ -47,6 +47,7 @@
time.timeZone = "Europe/Rome"; time.timeZone = "Europe/Rome";
services = { services = {
garage.settings.data_dir = "/mnt/raid/garage/";
fail2ban = { fail2ban = {
enable = true; enable = true;
bantime-increment.enable = true; bantime-increment.enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }: { { pkgs, config, ... }: {
users.groups.garage = { }; users.groups.garage = { };
users.users.garage = { isSystemUser = true; group = "garage"; }; users.users.garage = { isSystemUser = true; group = "garage"; };
age.secrets.garage_rpc_secret = { age.secrets.garage_rpc_secret = {
@ -6,7 +6,7 @@
owner = "garage"; owner = "garage";
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.interfaces."tailscale0".allowedTCPPorts = [
3900 3900
3901 3901
]; ];
@ -35,10 +35,10 @@
root_domain = ".s3.bertof.net"; root_domain = ".s3.bertof.net";
}; };
s3_web = { # s3_web = {
bind_addr = "0.0.0.0:3902"; # bind_addr = "0.0.0.0:3902";
root_domain = ".web.bertof.net"; # root_domain = ".web.bertof.net";
}; # };
# k2v_api = { # k2v_api = {
# api_bind_addr = "[::]:3904"; # api_bind_addr = "[::]:3904";