S3 Garage: cluster setup
This commit is contained in:
parent
95911b5e64
commit
9de02ed2a5
3 changed files with 27 additions and 22 deletions
|
|
@ -1,14 +1,17 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ pkgs, config, lib, ... }: {
|
||||
users.groups.garage = { };
|
||||
users.users.garage = {
|
||||
isSystemUser = true;
|
||||
group = "garage";
|
||||
};
|
||||
users.users.garage = { isSystemUser = true; group = "garage"; };
|
||||
|
||||
networking.firewall.interfaces."ztmjfdwjkp".allowedTCPPorts = [
|
||||
3901
|
||||
];
|
||||
|
||||
# Not correctly passing mount bindings
|
||||
systemd.services.garage.serviceConfig = {
|
||||
ProtectHome = lib.mkForce false;
|
||||
DynamicUser = false;
|
||||
};
|
||||
|
||||
services.garage = {
|
||||
package = pkgs.unstable_pkgs.garage;
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue