bert: Add navidrome
This commit is contained in:
parent
e9e8913fe6
commit
5271fe9965
|
@ -8,6 +8,7 @@
|
||||||
./services/http/index.nix
|
./services/http/index.nix
|
||||||
./services/monitoring.nix
|
./services/monitoring.nix
|
||||||
./services/forgejo.nix
|
./services/forgejo.nix
|
||||||
|
./services/navidrome.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader
|
# Bootloader
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
./home.chandlerswift.com.nix
|
./home.chandlerswift.com.nix
|
||||||
./katherineandchandler.com.nix
|
./katherineandchandler.com.nix
|
||||||
./maps.chandlerswift.com.nix
|
./maps.chandlerswift.com.nix
|
||||||
|
./music.chandlerswift.com.nix
|
||||||
./stjohnscccc.org.nix
|
./stjohnscccc.org.nix
|
||||||
./swiftgang.net.nix
|
./swiftgang.net.nix
|
||||||
];
|
];
|
||||||
|
|
5
bert/services/http/music.chandlerswift.com.nix
Normal file
5
bert/services/http/music.chandlerswift.com.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{config, ...}: {
|
||||||
|
services.caddy.virtualHosts."music.chandlerswift.com".extraConfig = ''
|
||||||
|
reverse_proxy localhost:${toString config.services.navidrome.settings.Port}
|
||||||
|
'';
|
||||||
|
}
|
10
bert/services/navidrome.nix
Normal file
10
bert/services/navidrome.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
services.navidrome = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
MusicFolder = "/mnt/bigbird-public/media/music";
|
||||||
|
ScanSchedule = "@every 12h";
|
||||||
|
EnableSharing = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue