adding shared nix store: part 1 - minio
This commit is contained in:
parent
6aef1d4b65
commit
ab3955616a
2 changed files with 14 additions and 1 deletions
|
@ -7,10 +7,11 @@ in {
|
||||||
./bolty-boot.nix
|
./bolty-boot.nix
|
||||||
./real-hardware.nix
|
./real-hardware.nix
|
||||||
../cli.nix
|
../cli.nix
|
||||||
|
./home-assistant.nix
|
||||||
./matrix-server.nix
|
./matrix-server.nix
|
||||||
|
./nix-store-server.nix
|
||||||
./print-server.nix
|
./print-server.nix
|
||||||
./restic-server.nix
|
./restic-server.nix
|
||||||
./home-assistant.nix
|
|
||||||
];
|
];
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
networking = {
|
networking = {
|
||||||
|
|
12
nixos/boxes/bolty/nix-store-server.nix
Normal file
12
nixos/boxes/bolty/nix-store-server.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue