Created
February 13, 2021 07:17
-
-
Save taku0/0ffd5caf9770cfdeda8674e4a58eb643 to your computer and use it in GitHub Desktop.
NixOS configuration for MinIO (#67684)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
# rm -f nixos.qcow2 && nixos-rebuild build-vm -I nixos-config=./configuration.nix -I nixpkgs=. && ./result/bin/run-nixos-vm | |
{ | |
nix.useSandbox = true; | |
nix.buildCores = 0; | |
nix.optimise.automatic = true; | |
nixpkgs.config.allowUnfree = true; | |
environment.systemPackages = with pkgs; [ | |
]; | |
nixpkgs.overlays = [(self: super: rec { | |
})]; | |
services.openssh.enable = true; | |
services.openssh.forwardX11 = true; | |
users.users.test = { | |
isNormalUser = true; | |
uid = 1000; | |
description = "Test"; | |
extraGroups = [ "wheel" ]; | |
initialPassword = "test"; | |
}; | |
services.minio = { | |
enable = true; | |
dataDir = ["/var/lib/minio/data1" "/var/lib/minio/data2"]; | |
}; | |
system.stateVersion = "20.09"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment