From f549c55cc75adc8d03e74bd8acc57a40b016b258 Mon Sep 17 00:00:00 2001 From: alexion Date: Sun, 20 Sep 2026 20:30:42 -0400 Subject: [PATCH] feat(nixos): add copyparty opds volume --- configs/nixos/hosts/pikachu/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/nixos/hosts/pikachu/default.nix b/configs/nixos/hosts/pikachu/default.nix index a0af097..e8721df 100644 --- a/configs/nixos/hosts/pikachu/default.nix +++ b/configs/nixos/hosts/pikachu/default.nix @@ -157,6 +157,12 @@ }; }; + systemd.tmpfiles.rules = [ + "d /pikachu/data/copyparty/root/inbox 2770 root storage - -" + "d /pikachu/data/copyparty/root/media 2770 root storage - -" + "d /pikachu/data/copyparty/root/opds 2770 root storage - -" + ]; + guests.copyparty = { enable = true; vlan = 20; @@ -198,6 +204,13 @@ "dthumb" ]; }; + "/opds" = { + hostPath = "/pikachu/data/opds"; + path = "/pikachu/data/opds"; + access.r = [ "alexion" ]; + readOnly = true; + flags = [ "opds" ]; + }; }; };