nixos config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

host(koumakan): fix garage take 2

+7
+7
systems/koumakan/services/storage/garage.nix
··· 58 58 }; 59 59 }; 60 60 61 + systemd.tmpfiles.settings."50-garage-init"."/var/lib/garage"."d" = { 62 + user = "garage"; 63 + group = "garage"; 64 + mode = "0700"; 65 + }; 66 + 61 67 systemd.services.garage.serviceConfig = { 62 68 DynamicUser = false; # we need to use a mounted filesystem and systemd explodes when i already have a mountpoint at /var/lib/garage/data. 63 69 User = config.users.users.garage.name; 64 70 Group = config.users.groups.garage.name; 65 71 Restart = "on-failure"; 72 + StateDirectory = lib.mkForce null; # this somehow breaks mounting dirs into /var/lib; systemd complains about id-mapped mount: device or resource busy 66 73 }; 67 74 68 75 services.nginx.virtualHosts.".s3.soopy.moe" = _utils.mkSimpleProxy {