Compare commits
No commits in common. "ee7648653e5ff2010fcd92fb5db68b2d2f5beedc" and "0896b1807327f639ca0b6a3942c90ad3ceb2a7b0" have entirely different histories.
ee7648653e
...
0896b18073
|
@ -203,7 +203,6 @@ with pkgs;
|
|||
./modules/communication.nix
|
||||
./modules/information.nix
|
||||
./modules/device.nix
|
||||
./modules/containers.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Podman setup
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
extraPackages = with pkgs; [ zfs ];
|
||||
};
|
||||
|
||||
oci-containers = {
|
||||
backend = "podman";
|
||||
containers = {
|
||||
# Openbooks configuration
|
||||
openbooks = {
|
||||
image =
|
||||
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
|
||||
ports = [ "127.0.0.1:9000:80" ];
|
||||
cmd = [ "--name" "bookworm" "--searchbot" "searchook" "--persist" ];
|
||||
};
|
||||
# Prometheus MQTT integration
|
||||
mqtt2prometheus = {
|
||||
image =
|
||||
"hikhvar/mqtt2prometheus@sha256:ad133b8cef2d82c5573864598b1c8361753adc7e4ac53da28bc9b6afdf05aeaf";
|
||||
ports = [ "127.0.0.1:9641:9641" ];
|
||||
volumes = [ "/vault/mqtt2prometheus/config.yaml:/config.yaml" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -31,4 +31,27 @@
|
|||
# Set environment variable pointing to wallabag configuration directory
|
||||
environment.variables.WALLABAG_DATA = "/var/lib/wallabag";
|
||||
|
||||
# Podman setup
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
extraPackages = with pkgs; [ zfs ];
|
||||
};
|
||||
|
||||
# Openbooks configuration
|
||||
oci-containers = {
|
||||
backend = "podman";
|
||||
containers = {
|
||||
openbooks = {
|
||||
image =
|
||||
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
|
||||
ports = [ "127.0.0.1:9000:80" ];
|
||||
cmd = [ "--name" "bookworm" "--searchbot" "searchook" "--persist" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue