mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
abs: make bind mount writeable
This commit is contained in:
parent
3ed44aebd0
commit
5dd15e3bb7
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue