webapps: introduce module with multiple configurations including dashboard

This commit is contained in:
Felix Buehler 2022-01-23 23:35:00 +01:00
parent 9ea187f809
commit cb7bd7a6eb
9 changed files with 288 additions and 31 deletions

21
extra/webapps/sonarr.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
services.sonarr = {
enable = true;
openFirewall = true;
};
systemd.services.sonarr = {
after = [ "network-online.target" ];
#unitConfig.RequiresMountsFor = [ "/storage" ];
};
webapps.apps.sonarr = {
dashboard = {
name = "Sonarr";
category = "manag";
icon = "tv";
link = "http://192.168.178.60:8989";
};
};
}