From 5dd15e3bb7f1183058d551539a9c67a560a482cf Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 8 Jun 2024 11:31:59 -0400 Subject: [PATCH] abs: make bind mount writeable --- hosts/mauville/default.nix | 3 +-- nixosModules/containers/nixos/audiobookshelf/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index 60f792bf..88f4f52f 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -34,12 +34,11 @@ in { }; containers = { nixos = { - audiobookshelf.enable = true; + audiobookshelf.enable = true; navidrome.enable = true; }; oci = { freshRSS.enable = true; - jellyfin.enable = false; plexMediaServer.enable = true; transmission.enable = true; }; diff --git a/nixosModules/containers/nixos/audiobookshelf/default.nix b/nixosModules/containers/nixos/audiobookshelf/default.nix index 6e81dfd8..9ce18abe 100644 --- a/nixosModules/containers/nixos/audiobookshelf/default.nix +++ b/nixosModules/containers/nixos/audiobookshelf/default.nix @@ -24,7 +24,10 @@ config = lib.mkIf config.alyraffauf.containers.nixos.audiobookshelf.enable { containers.audiobookshelf = { autoStart = true; - bindMounts."/Media".hostPath = config.alyraffauf.containers.nixos.audiobookshelf.mediaDirectory; + bindMounts."/Media" = { + hostPath = config.alyraffauf.containers.nixos.audiobookshelf.mediaDirectory; + isReadOnly = false; + }; config = let port = config.alyraffauf.containers.nixos.audiobookshelf.port; in