1
Fork 0
satellite/hosts/nixos/lapetus/services/homer.nix

91 lines
2.4 KiB
Nix
Raw Normal View History

2024-02-24 03:51:35 +01:00
{ pkgs, config, ... }:
let
colors = with config.lib.stylix.scheme.withHashtag; {
highlight-primary = base0A;
highlight-secondary = base09;
highlight-hover = base08;
text-title = base00;
text-subtitle = base00;
text = base05;
link = base08;
background = base00;
card-background = base01;
};
fa = name: "fas fa-${name}";
icon = file: ../../../../common/icons/${file};
in
{
services.nginx.virtualHosts."dashboard.moonythm.dev" = {
enableACME = true;
acmeRoot = null;
forceSSL = true;
root = pkgs.homer.withAssets {
config = {
title = " The celestial citadel ";
subtitle = "The home for my homelab :3";
header = false;
footer = false;
connectivityCheck = true;
colors.light = colors;
colors.dark = colors;
services = [
{
name = "Pillars";
icon = fa "toolbox";
items = [
{
name = "Vaultwarden";
subtitle = "Password manager";
logo = icon "bitwarden.png";
url = "warden.moonythm.dev";
keywords = "pass";
}
{
name = "Syncthing";
subtitle = "File synchronization";
logo = icon "syncthing.png";
url = "syncthing.lapetus.moonythm.dev";
}
{
name = "Whoogle";
subtitle = "Search engine";
logo = icon "woogle.webp";
url = "search.moonythm.dev";
keywords = "search google";
}
];
}
{
name = "Self management";
icon = fa "superpowers";
items = [
{
name = "Intray";
subtitle = "GTD capture tool";
icon = fa "cubes-stacked";
url = "intray.moonythm.dev";
}
{
name = "Smos";
subtitle = "A comprehensive self-management system.";
icon = fa "list";
url = "smos.moonythm.dev";
}
{
name = "Actual";
subtitle = "Budgeting tool";
logo = icon "actual.png";
url = "actual.moonythm.dev";
}
];
}
];
};
};
};
}