2024-02-24 03:51:35 +01:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
let
|
|
|
|
colors = with config.lib.stylix.scheme.withHashtag; {
|
2024-02-24 04:39:42 +01:00
|
|
|
highlight-primary = base09;
|
|
|
|
highlight-secondary = base01;
|
|
|
|
highlight-hover = base00;
|
|
|
|
text-header = base05;
|
2024-02-24 04:03:21 +01:00
|
|
|
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 06:52:01 +01:00
|
|
|
imports = [ ../../common/optional/services/nginx.nix ];
|
|
|
|
|
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";
|
2024-02-24 04:41:54 +01:00
|
|
|
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.";
|
2024-02-24 04:41:54 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|