diff --git a/.gitignore b/.gitignore index 7ad6275..6f8ecdb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.direnv +/wineprefix diff --git a/flake.nix b/flake.nix index 16803ca..4efa076 100644 --- a/flake.nix +++ b/flake.nix @@ -1,12 +1,7 @@ { inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=91050ea1e57e50388fa87a3302ba12d188ef723a"; - outputs = { - self, - nixpkgs, - ... - }: let - # inherit (self) outputs; + outputs = {nixpkgs, ...}: let systems = [ "aarch64-linux" "x86_64-linux" diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b3a0dfe --- /dev/null +++ b/readme.md @@ -0,0 +1,16 @@ +# Battle.net Nix Flake + +Sort of. + +## Usage + +1. Download the Battle.net setup: https://download.battle.net/?product=bnetdesk +2. Clone and `nix develop .` (or use direnv and `direnv allow`) +3. Follow https://nixos.wiki/wiki/Battle.net + +```shell +export WINEARCH=win64 +export WINEPREFIX=$PWD/wineprefix +winetricks dxvk +wine64 $BATTLENET_SETUP +```