feat: Homepage

This commit is contained in:
marthsincemelee
2026-04-20 14:46:44 +02:00
parent e1ea5b03dc
commit 191e860455
14 changed files with 259 additions and 25 deletions
@@ -2,6 +2,7 @@
{ config, lib, ... }:
let
cfg = config.my.profiles.paperless;
hostName = config.networking.hostName;
in
{
options.my.profiles.paperless = with lib; {
@@ -31,6 +32,16 @@ in
port = cfg.port;
# settings = cfg.extraConfig;
};
my.homepage.services = [
{
group = "Documents";
name = "Paperless";
description = "Document management";
href = "http://${hostName}:${toString cfg.port}";
}
];
networking.firewall.allowedTCPPorts = [ cfg.port ];
};
}