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

90 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;
2024-02-24 04:03:21 +01:00
text-header = base00;
text-title = base05;
text-subtitle = base05;
2024-02-24 03:51:35 +01:00
text = base05;
link = base08;
background = base00;
card-background = base01;
};
fa = name: "fas fa-${name}";
2024-02-24 04:14:19 +01:00
icon = file: "assets${../../../../common/icons/${file}}";
2024-02-24 03:51:35 +01:00
in
{
2024-02-24 03:52:15 +01:00
services.nginx.virtualHosts."lab.moonythm.dev" = {
2024-02-24 03:51:35 +01:00
enableACME = true;
acmeRoot = null;
forceSSL = true;
root = pkgs.homer.withAssets {
2024-02-24 04:03:21 +01:00
extraAssets = [ ../../../../common/icons ];
2024-02-24 03:51:35 +01:00
config = {
title = " The celestial citadel ";
2024-02-24 04:14:19 +01:00
header = false;
2024-02-24 03:51:35 +01:00
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";
}
{
name = "Syncthing";
subtitle = "File synchronization";
logo = icon "syncthing.png";
url = "syncthing.lapetus.moonythm.dev";
}
{
name = "Whoogle";
subtitle = "Search engine";
2024-02-24 03:53:52 +01:00
logo = icon "whoogle.webp";
2024-02-24 03:51:35 +01:00
url = "search.moonythm.dev";
}
];
}
{
2024-02-24 04:03:21 +01:00
name = "Productivity";
icon = fa "rocket";
2024-02-24 03:51:35 +01:00
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";
}
];
}
];
};
};
};
}