From 33755216e7352afb2c649627cd05ca959da7c6d8 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Sat, 19 Aug 2023 16:09:15 +0500 Subject: [PATCH] Fix 'read-only filesystem' error --- nixos/programs/mastodon.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/programs/mastodon.nix b/nixos/programs/mastodon.nix index 9ff69af..e9a8fee 100644 --- a/nixos/programs/mastodon.nix +++ b/nixos/programs/mastodon.nix @@ -43,4 +43,11 @@ authenticate = true; }; }; + + systemd.services.mastodon-web = { + serviceConfig.ReadWritePaths = "/hdd/mastodon-public-system"; + }; + systemd.services.mastodon-sidekiq-all = { + serviceConfig.ReadWritePaths = "/hdd/mastodon-public-system"; + }; }