feat(uptime-kuma): add enable option

This commit is contained in:
2026-05-24 16:00:44 +02:00
parent 7324873ef9
commit e0e51558b7
+6
View File
@@ -1,9 +1,14 @@
{
lib,
config,
pkgs,
...
}:
{
options."uptime-kuma".enable = lib.mkEnableOption "uptime-kuma";
config = lib.mkIf config."uptime-kuma".enable {
virtualisation.oci-containers = {
backend = "docker";
containers.uptime-kuma = {
@@ -27,4 +32,5 @@
};
environment.systemPackages = with pkgs; [ docker-compose ];
};
}