Initial commit
This commit is contained in:
commit
32849cc5d2
44 changed files with 3811 additions and 0 deletions
28
modules/apps/changedetection/default.nix
Normal file
28
modules/apps/changedetection/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homelab.apps.changedetection;
|
||||
in {
|
||||
options.homelab.apps.changedetection.enable = lib.mkEnableOption "Changedetection.io";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
homelab.virtualisation.containers.enable = true;
|
||||
|
||||
virtualisation.oci-containers.containers.changedetection = {
|
||||
hostname = "changedetection";
|
||||
image = "ghcr.io/dgtlmoon/changedetection.io";
|
||||
autoStart = true;
|
||||
ports = [
|
||||
"5000:5000/tcp"
|
||||
];
|
||||
extraOptions = [
|
||||
];
|
||||
volumes = [
|
||||
"changedetection:/datastore"
|
||||
];
|
||||
environment = {
|
||||
LOGGER_LEVEL = "WARNING";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue