containers/emerald: init
This commit is contained in:
parent
113a545e0e
commit
9f5e00559a
5 changed files with 155 additions and 19 deletions
20
containers/emerald/configuration.nix
Normal file
20
containers/emerald/configuration.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ 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;
|
||||
BaseUrl = fqdn;
|
||||
ShareURL = shareFqdn;
|
||||
DataFolder = "/persist/navidrome";
|
||||
MusicFolder = "/persist/music";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue