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

16 lines
295 B
Nix
Raw Normal View History

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