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;
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:30:47 +01:00
iconPath = ../../../../common/icons;
icon = file: "assets/${iconPath}/${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:30:47 +01:00
extraAssets = [ iconPath ];
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";
2024-02-24 04:32:30 +01:00
url = "https://warden.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
{
name = "Syncthing";
subtitle = "File synchronization";
logo = icon "syncthing.png";
2024-02-24 04:32:30 +01:00
url = "https://syncthing.lapetus.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
{
name = "Whoogle";
subtitle = "Search engine";
2024-02-24 03:53:52 +01:00
logo = icon "whoogle.webp";
2024-02-24 04:32:30 +01:00
url = "https://search.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
];
}
{
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";
2024-02-24 04:32:30 +01:00
url = "https://intray.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
{
name = "Smos";
subtitle = "A comprehensive self-management system.";
icon = fa "list";
2024-02-24 04:32:30 +01:00
url = "https://smos.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
{
name = "Actual";
subtitle = "Budgeting tool";
logo = icon "actual.png";
2024-02-24 04:32:30 +01:00
url = "https://actual.moonythm.dev";
2024-02-24 03:51:35 +01:00
}
];
}
];
};
};
};
}