debloat
This commit is contained in:
parent
d975f43b3e
commit
cd78d9d00f
13 changed files with 18 additions and 145 deletions
|
@ -1,24 +0,0 @@
|
|||
{config, ...}: {
|
||||
services.navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Address = "127.0.0.1";
|
||||
Port = 8030;
|
||||
MusicFolder = "/srv/music";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."navi.${config.networking.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
quic = true;
|
||||
|
||||
locations."/".proxyPass = "http://${config.services.navidrome.settings.Address}:${builtins.toString config.services.navidrome.settings.Port}";
|
||||
};
|
||||
|
||||
fileSystems.${config.services.navidrome.settings.MusicFolder} = {
|
||||
device = "/dev/disk/by-label/music";
|
||||
fsType = "btrfs";
|
||||
options = ["compress=zstd" "noatime"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue