Add readme
This commit is contained in:
parent
852963d669
commit
96bbfca2d9
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/.direnv
|
/.direnv
|
||||||
|
/wineprefix
|
||||||
|
|
|
@ -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
16
readme.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in a new issue