server/kotori.nix

20 lines
368 B
Nix
Raw Normal View History

2023-07-19 18:20:27 +02:00
{ config, pkgs, ... }:
{
virtualisation = {
2023-07-19 18:58:53 +02:00
podman = {
enable = true;
dockerCompat = true;
};
2023-07-19 18:20:27 +02:00
oci-containers = {
2023-07-19 18:58:53 +02:00
backend = "podman";
2023-07-19 18:20:27 +02:00
containers = {
kotori = {
2023-07-19 18:58:53 +02:00
image = "kamov/kotori:latest";
2024-04-07 00:38:51 +02:00
environmentFiles = [ /root/.secrets/kotori.env ];
2023-07-19 18:20:27 +02:00
autoStart = true;
};
};
};
};
}