nix-configs/homelab/glance/default.nix
Aaron Honeycutt 7e69384d47
All checks were successful
nix format check / amd64 (pull_request) Successful in 44s
format files using alejandra
2026-01-21 12:22:20 -07:00

85 lines
2.3 KiB
Nix

{
config,
pkgs,
lib,
...
}:
# Widgets not supported in version 0.6.2 in nixpkgs#24.11:
# split-column
# server-stats
# custom-api
{
services.glance = {
enable = true;
openFirewall = true;
settings = {
server = {
host = "0.0.0.0";
port = 5678;
};
theme = {
background-color = "270 5 17";
primary-color = "21 97 85";
negative-color = "358 100 68";
contrast-multiplier = 1.2;
};
pages = [
{
name = "Startpage";
width = "slim";
hide-desktop-navigation = true;
center-vertically = true;
columns = [
{
size = "full";
widgets = [
{
type = "search";
search-engine = "duckduckgo";
}
{
type = "monitor";
title = "Services";
sites = [
{
title = "Home Assistant";
url = "https://home.honeycutt.family/";
}
{
title = "Navidrome (Music)";
url = "https://music.honeycutt.family/";
}
{
title = "Jellyfin (Videos)";
url = "https://videos.honeycutt.family/";
}
{
title = "Immich (Photos)";
url = "https://photos.honeycutt.family/";
}
{
title = "Kavita (Books)";
url = "https://books.honeycutt.family/";
}
{
title = "Audiobookshelf (Audiobooks)";
url = "https://audiobookshelf.honeycutt.family/";
}
{
title = "Mealie (Meals)";
url = "https://meals.honeycutt.family/";
}
{
title = "Linkwarden (Links)";
url = "https://links.honeycutt.family/";
}
];
}
];
}
];
}
];
};
};
}