{lib, config, ...}: with lib; { services.dashy = mkIf config.services.dashy.enable { virtualHost = { enableNginx = true; domain = "dashy.odie.home.arpa"; }; settings = { pageInfo = { title = "Dashy"; }; appConfig = { theme = "Material-Dark"; faviconApi = ["local"]; preventWriteToDisk = true; }; sections = [ { name = "System Info"; icon = "fas fas-rocket"; widgets = [ { type ="system-info"; } ]; } { name = "Media"; icon = "fa fa-headphones"; items = [ { title = "Mediaplayer"; description = "Jellyfin"; icon = "favicon"; url = "https://jellyfin.odie.home.arpa"; } { title = "Filme"; description = "Radarr"; icon = "favicon"; url = "https://radarr.odie.home.arpa"; } { title = "Serien"; description = "Sonarr"; icon = "favicon"; url = "https://sonarr.odie.home.arpa"; } { title = "Indexer"; description = "Prowlarr"; icon = "favicon"; url = "https://prowlarr.odie.home.arpa"; } ]; } ]; }; }; }