fix(copyparty): apply volume permissions #181

Closed
alexion wants to merge 1 commits from refactor/copyparty-service-cleanup into main
Owner

Summary

  • Use lib.getExe' for the tr command in the generated Copyparty config script.
  • Always emit Copyparty volume permission flags, including default directory and file modes.
  • Pass volume readOnly settings through to guest bind mounts.

Verification

  • Inspected the generated Copyparty config script from the Pikachu container evaluation.
  • Evaluated Copyparty bind mount read-only flags for /srv, /pikachu/__inbox, /pikachu/media, and /pikachu/data/opds.
  • nix build --no-link '.#nixosConfigurations.pikachu.config.system.build.toplevel'
  • nix run .#fix
  • bazel run //src/natu:natu -- configs/nixos/modules/services/copyparty.nix configs/nixos/guests/copyparty.nix
## Summary - Use `lib.getExe'` for the `tr` command in the generated Copyparty config script. - Always emit Copyparty volume permission flags, including default directory and file modes. - Pass volume `readOnly` settings through to guest bind mounts. ## Verification - Inspected the generated Copyparty config script from the Pikachu container evaluation. - Evaluated Copyparty bind mount read-only flags for `/srv`, `/pikachu/__inbox`, `/pikachu/media`, and `/pikachu/data/opds`. - `nix build --no-link '.#nixosConfigurations.pikachu.config.system.build.toplevel'` - `nix run .#fix` - `bazel run //src/natu:natu -- configs/nixos/modules/services/copyparty.nix configs/nixos/guests/copyparty.nix`
alexion added 1 commit 2026-10-12 11:54:49 -04:00
alexion closed this pull request 2026-10-12 12:16:47 -04:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#181