{ config, lib, pkgs, modulesPath, ... }: { services.glance = { enable = true; settings = { server.port = 8080; server.host = "192.168.0.101"; pages = [ { name = "HomeLAN"; #hide-desktop-navigation = true; columns = [ { size = "small"; widgets = [ { type = "search"; search-engine = "startpage"; new-tab = true; autofocus = true; placeholder = "Startpage | @in, @media, @pkg, @git"; bangs = [ { title = "Invidious"; shortcut = "@in"; url = "http://192.168.0.131:4000/search?q={QUERY}"; } { title = "NixOS Packages"; shortcut = "@pkg"; url = "https://search.nixos.org/packages?query={QUERY}"; } { title = "Jellyfin"; shortcut = "@media"; url = "http://192.168.0.131:8096/web/#/search.html?query={QUERY}"; } { title = "Github"; shortcut = "@git"; url = "https://github.com/search?q={QUERY}&type=repositories"; } ]; } { type = "monitor"; cache = "1m"; style = "compact"; title = "Health"; sites = [ { title = "Gitea"; url = "http://192.168.0.131:3010/user/login"; } { title = "Jellyfin"; url = "http://192.168.0.131:8096/web/#/home.html"; } { title = "Invidious"; url = "http://192.168.0.131:4000"; } { title = "Transmission"; url = "http://192.168.0.131:9091"; } { title = "OpenWebUI"; url = "http://192.168.0.131:3005/auth?redirect=%2F"; } { title = "FreshRSS"; url = "http://192.168.0.131:8011"; } { title = "Karakeep"; url = "http://192.168.0.131:5000"; } { title = "Syncthing"; url = "http://192.168.0.131:8384"; } { title = "Radicale"; url = "http://192.168.0.101:5232"; } { title = "NetData"; url = "http://192.168.0.131:19999/v3"; } { title = "Keybr"; url = "http://192.168.0.131:3000"; } { title = "Speedtest Tracker"; url = "http://192.168.0.131:8765/"; } { title = "PiHole"; url = "http://192.168.0.101:8085"; } { title = "Dozzle"; url = "http://192.168.0.131:8009"; } { title = "TP-Link"; url = "http://192.168.0.1"; } ]; } { type = "server-stats"; name = "Box"; } ]; } { size = "full"; widgets = [ { type = "group"; widgets = [ { type = "hacker-news"; limit = 40; collapse-after = 5; } { type = "lobsters"; sort-by = "hot"; #tags = [ "c" "rust" "networking" ]; tags = [ "rust" "networking" "c" "culture" "law" "cryptography" "hardware" "science" "linux" "windows" "nix" "android" "privacy" "security" "virtualization" "editors" "systemd" "vim" ]; } ]; } { type = "group"; widgets = [ { type = "iframe"; source = "http://192.168.0.131:19999/v3"; height = 800; } ]; } ]; } { size = "small"; widgets = [ { type = "to-do"; } { type = "weather"; location = "Bucharest, Romania"; units = "metric"; hour-format = "24h"; } { type = "twitch-channels"; channels = [ "theprimeagen" "tsoding" "euuhhh" ]; } ]; } ]; } ]; }; }; }