adding shared nix store: part 1 - minio

This commit is contained in:
Cyryl Płotnicki 2022-12-09 11:10:15 +00:00
parent 6aef1d4b65
commit ab3955616a
2 changed files with 14 additions and 1 deletions

View file

@ -7,10 +7,11 @@ in {
./bolty-boot.nix
./real-hardware.nix
../cli.nix
./home-assistant.nix
./matrix-server.nix
./nix-store-server.nix
./print-server.nix
./restic-server.nix
./home-assistant.nix
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
networking = {

View file

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