Compare commits
No commits in common. "3381630a7ad9098f700e75a9805c96d945275886" and "de7402576dd10317d34fd54c84b54d566b543de9" have entirely different histories.
3381630a7a
...
de7402576d
3 changed files with 2 additions and 15 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ fqdn, shareFqdn, ... }: {
|
{ fqdn, shareFqdn, ... }: {
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /persist/music 755 navidrome navidrome"
|
||||||
"d /persist/navidrome 755 navidrome navidrome"
|
"d /persist/navidrome 755 navidrome navidrome"
|
||||||
];
|
];
|
||||||
networking.firewall.allowedTCPPorts = [ 4533 ];
|
networking.firewall.allowedTCPPorts = [ 4533 ];
|
||||||
|
|
@ -16,7 +17,7 @@
|
||||||
ShareURL = "https://${shareFqdn}";
|
ShareURL = "https://${shareFqdn}";
|
||||||
EnableSharing = true;
|
EnableSharing = true;
|
||||||
DataFolder = "/persist/navidrome";
|
DataFolder = "/persist/navidrome";
|
||||||
MusicFolder = "/binds/music";
|
MusicFolder = "/persist/music";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,11 +67,6 @@
|
||||||
mountPoint = "/persist";
|
mountPoint = "/persist";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
bindMounts."music" = {
|
|
||||||
hostPath = "/persist/media/music";
|
|
||||||
mountPoint = "/binds/music";
|
|
||||||
isReadOnly = true;
|
|
||||||
};
|
|
||||||
bindMounts."navidrome_env" = {
|
bindMounts."navidrome_env" = {
|
||||||
hostPath = config.age.secrets.navidrome_env.path;
|
hostPath = config.age.secrets.navidrome_env.path;
|
||||||
mountPoint = "/binds/navidrome_env";
|
mountPoint = "/binds/navidrome_env";
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
internalInterfaces = [ "ve-${name}" ];
|
internalInterfaces = [ "ve-${name}" ];
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 50300 ];
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."${fqdn}" = {
|
services.nginx.virtualHosts."${fqdn}" = {
|
||||||
useACMEHost = "lava.moe";
|
useACMEHost = "lava.moe";
|
||||||
|
|
@ -59,14 +58,6 @@
|
||||||
config = { imports = modules; };
|
config = { imports = modules; };
|
||||||
specialArgs = { inherit fqdn; };
|
specialArgs = { inherit fqdn; };
|
||||||
|
|
||||||
forwardPorts = [
|
|
||||||
{
|
|
||||||
containerPort = 50300;
|
|
||||||
hostPort = 50300;
|
|
||||||
protocol = "tcp";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
bindMounts."persist" = {
|
bindMounts."persist" = {
|
||||||
hostPath = "/persist/containers/${name}";
|
hostPath = "/persist/containers/${name}";
|
||||||
mountPoint = "/persist";
|
mountPoint = "/persist";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue