{config, ...}: let vars = import ../../../../vars.nix; in { virtualisation.arion = { projects.minio.settings = { imports = [./arion-compose.nix]; }; }; sops.secrets."minio/root_user" = { owner = vars.user; }; sops.secrets."minio/root_password" = { owner = vars.user; }; sops.templates."minio.env" = { path = "/home/${vars.user}/.docker/minio/minio.env"; owner = vars.user; mode = "0775"; content = '' MINIO_ROOT_USER="${config.sops.placeholder."minio/root_user"}" MINIO_ROOT_PASSWORD="${config.sops.placeholder."minio/root_password"}" ''; }; }