blob: 6f9c825b40fe35a16669bb6bf6dd8a60163fe262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ ... }:
let
directory = "/opt/pinchflat";
in
{
systemd.tmpfiles.rules = builtins.map (x: "d ${x} 0755 share share - -") [ directory ];
virtualisation.oci-containers.containers.pinchflat = {
image = "keglin/pinchflat:latest";
autoStart = true;
ports = [ "8945:8945" ];
volumes = [
"${directory}:/config"
"/tank/media/yt:/downloads"
];
environment.TZ = "America/Detroit";
};
}
|