containers/emerald: init
This commit is contained in:
parent
b7665d9bd5
commit
0567313fa2
5 changed files with 156 additions and 19 deletions
21
containers/emerald/configuration.nix
Normal file
21
containers/emerald/configuration.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ 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 ];
|
||||
networking.firewall.allowedUDPPorts = [ 4533 ];
|
||||
|
||||
services.navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Port = 4533;
|
||||
Address = "[::]";
|
||||
BaseUrl = "https://${fqdn}/";
|
||||
ShareURL = shareFqdn;
|
||||
DataFolder = "/persist/navidrome";
|
||||
MusicFolder = "/persist/music";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue