From 5aabaeb40a2de3cf19e089b00bf9ad7818fc3e06 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Tue, 5 May 2026 01:04:40 -0400 Subject: [PATCH] garage fixes --- systems/palatine-hill/garage.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/systems/palatine-hill/garage.nix b/systems/palatine-hill/garage.nix index 1a9cf9c..beac54e 100644 --- a/systems/palatine-hill/garage.nix +++ b/systems/palatine-hill/garage.nix @@ -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 = {