abs: make bind mount writeable

This commit is contained in:
Aly Raffauf 2024-06-08 11:31:59 -04:00
parent 3ed44aebd0
commit 5dd15e3bb7
2 changed files with 5 additions and 3 deletions

View file

@ -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;
};

View file

@ -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