Added homepage, immich and uptime kuma

This commit is contained in:
2025-04-28 09:23:05 +02:00
parent a8a6776b1b
commit b6a91b7dcb
6 changed files with 217 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{ config, lib, ... }:
with lib;
let
cfg = config.settings.containers.uptime-kuma;
in {
options = {
settings.containers.uptime-kuma.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable uptime kuma container
'';
};
};
config = mkIf cfg.enable {
services.podman.containers.uptime-kuma = {
image = "louislam/uptime-kuma:1";
network = "proxy";
volumes = [
"%h/containers/uptime-kuma/data:/app/data"
];
};
};
}