garage fixes
This commit is contained in:
@@ -50,8 +50,20 @@ in
|
||||
];
|
||||
preStart = ''
|
||||
mkdir -p ${basePath}/meta ${basePath}/data
|
||||
chown -R garage:garage ${basePath}/meta ${basePath}/data
|
||||
'';
|
||||
serviceConfig.PermissionsStartOnly = true;
|
||||
serviceConfig = {
|
||||
PermissionsStartOnly = true;
|
||||
DynamicUser = false;
|
||||
User = "garage";
|
||||
Group = "garage";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.garage = { };
|
||||
users.users.garage = {
|
||||
isSystemUser = true;
|
||||
group = "garage";
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
|
||||
Reference in New Issue
Block a user