nix-config/containers/pinchflat/default.nix

24 lines
452 B
Nix
Raw Normal View History

2024-11-10 17:54:08 -05:00
{ ... }:
let
directories = [
"/opt/pinchflat"
];
in
{
systemd.tmpfiles.rules = map (x: "d ${x} 0755 share share - -") directories;
virtualisation.oci-containers.containers.pinchflat = {
image = "keglin/pinchflat:latest";
autoStart = true;
ports = [
"8945:8945"
];
volumes = [
"/opt/pinchflat:/config"
"/lagoon/media/yt:/downloads"
];
environment = {
TZ = "America/Detroit";
};
};
}