containers/emerald: bind music media dir
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
5eef477e0b
commit
3381630a7a
2 changed files with 6 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{ fqdn, shareFqdn, ... }: {
|
||||
system.stateVersion = "25.11";
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /persist/music 755 navidrome navidrome"
|
||||
"d /persist/navidrome 755 navidrome navidrome"
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [ 4533 ];
|
||||
|
|
@ -17,7 +16,7 @@
|
|||
ShareURL = "https://${shareFqdn}";
|
||||
EnableSharing = true;
|
||||
DataFolder = "/persist/navidrome";
|
||||
MusicFolder = "/persist/music";
|
||||
MusicFolder = "/binds/music";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,11 @@
|
|||
mountPoint = "/persist";
|
||||
isReadOnly = false;
|
||||
};
|
||||
bindMounts."music" = {
|
||||
hostPath = "/persist/media/music";
|
||||
mountPoint = "/binds/music";
|
||||
isReadOnly = true;
|
||||
};
|
||||
bindMounts."navidrome_env" = {
|
||||
hostPath = config.age.secrets.navidrome_env.path;
|
||||
mountPoint = "/binds/navidrome_env";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue