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

@ -39,7 +39,6 @@ in {
}; };
oci = { oci = {
freshRSS.enable = true; freshRSS.enable = true;
jellyfin.enable = false;
plexMediaServer.enable = true; plexMediaServer.enable = true;
transmission.enable = true; transmission.enable = true;
}; };

View file

@ -24,7 +24,10 @@
config = lib.mkIf config.alyraffauf.containers.nixos.audiobookshelf.enable { config = lib.mkIf config.alyraffauf.containers.nixos.audiobookshelf.enable {
containers.audiobookshelf = { containers.audiobookshelf = {
autoStart = true; autoStart = true;
bindMounts."/Media".hostPath = config.alyraffauf.containers.nixos.audiobookshelf.mediaDirectory; bindMounts."/Media" = {
hostPath = config.alyraffauf.containers.nixos.audiobookshelf.mediaDirectory;
isReadOnly = false;
};
config = let config = let
port = config.alyraffauf.containers.nixos.audiobookshelf.port; port = config.alyraffauf.containers.nixos.audiobookshelf.port;
in in