dotfiles/nixos/boxes/bolty/nix-store-server.nix

15 lines
295 B
Nix

{
config,
pkgs,
...
}: {
networking.firewall.allowedTCPPorts = [10000 10001];
services.minio = {
enable = true;
region = "home";
dataDir = ["/var/lib/minio/data"];
configDir = "/var/lib/minio/config";
listenAddress = ":10000";
consoleAddress = ":10001";
};
}