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

16 lines
291 B
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
...
}: {
networking.firewall.allowedTCPPorts = [9000 9001];
services.minio = {
enable = true;
region = "home";
2022-12-19 09:09:08 +00:00
dataDir = ["/var/lib/minio/data"];
configDir = "/var/lib/minio/config";
listenAddress = ":9000";
consoleAddress = ":9001";
};
}