mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 05:29:17 -05:00
abs: make bind mount writeable
This commit is contained in:
parent
3ed44aebd0
commit
5dd15e3bb7
|
@ -34,12 +34,11 @@ in {
|
||||||
};
|
};
|
||||||
containers = {
|
containers = {
|
||||||
nixos = {
|
nixos = {
|
||||||
audiobookshelf.enable = true;
|
audiobookshelf.enable = true;
|
||||||
navidrome.enable = true;
|
navidrome.enable = true;
|
||||||
};
|
};
|
||||||
oci = {
|
oci = {
|
||||||
freshRSS.enable = true;
|
freshRSS.enable = true;
|
||||||
jellyfin.enable = false;
|
|
||||||
plexMediaServer.enable = true;
|
plexMediaServer.enable = true;
|
||||||
transmission.enable = true;
|
transmission.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue