50 lines
1.6 KiB
Nix
50 lines
1.6 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [ arion docker-compose ];
|
|
virtualisation = {
|
|
docker = {
|
|
enable = true;
|
|
enableNvidia = true;
|
|
storageDriver = "btrfs";
|
|
};
|
|
|
|
oci-containers = {
|
|
backend = "docker";
|
|
containers = {
|
|
collabora = {
|
|
image = "collabora/code";
|
|
# imageFile = pkgs.dockerTools.pullImage {
|
|
# imageName = "collabora/code";
|
|
# imageDigest =
|
|
# "sha256:aab41379baf5652832e9237fcc06a768096a5a7fccc66cf8bd4fdb06d2cbba7f";
|
|
# sha256 = "sha256-M66lynhzaOEFnE15Sy1N6lBbGDxwNw6ap+IUJAvoCLs=";
|
|
# };
|
|
ports = [ "9980:9980" ];
|
|
environment = {
|
|
domain = "cloud.servidos.lat";
|
|
username = "jawz";
|
|
password = "chichis";
|
|
dictionaries = "en_CA en_US es_MX es_ES fr_FR it pt_BR ru";
|
|
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
|
|
};
|
|
extraOptions = [ "--cap-add" "MKNOD" ];
|
|
};
|
|
# flaresolverr = {
|
|
# image = "ghcr.io/flaresolverr/flaresolverr:latest";
|
|
# # imageFile = pkgs.dockerTools.pullImage {
|
|
# # imageName = "ghcr.io/flaresolverr/flaresolverr:latest";
|
|
# # };
|
|
# ports = [ "8191:8191" ];
|
|
# environment = {
|
|
# TZ = "America/Mexico_City";
|
|
# LOG_LEVEL = "\${LOG_LEVEL:-info}";
|
|
# LOG_HTML = "\${LOG_HTML:-false}";
|
|
# CAPTCHA_SOLVER = "\${CAPTCHA_SOLVER:-none}";
|
|
# };
|
|
# };
|
|
};
|
|
};
|
|
};
|
|
}
|