Add readme

This commit is contained in:
Daniel Flanagan 2023-12-04 10:05:28 -06:00
parent 852963d669
commit 96bbfca2d9
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 18 additions and 6 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/.direnv /.direnv
/wineprefix

View file

@ -1,12 +1,7 @@
{ {
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=91050ea1e57e50388fa87a3302ba12d188ef723a"; inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=91050ea1e57e50388fa87a3302ba12d188ef723a";
outputs = { outputs = {nixpkgs, ...}: let
self,
nixpkgs,
...
}: let
# inherit (self) outputs;
systems = [ systems = [
"aarch64-linux" "aarch64-linux"
"x86_64-linux" "x86_64-linux"

16
readme.md Normal file
View file

@ -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
```