commit 7d421c3b28cd37d648a2bd71a28152b70f60b4dd Author: Daniel Flanagan Date: Mon Dec 4 09:57:40 2023 -0600 Initial commit diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ad6275 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.direnv diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f93fb54 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1701436327, + "narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "91050ea1e57e50388fa87a3302ba12d188ef723a", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "rev": "91050ea1e57e50388fa87a3302ba12d188ef723a", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..43d8736 --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ + inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=91050ea1e57e50388fa87a3302ba12d188ef723a"; + + outputs = { + self, + nixpkgs, + ... + }: let + # inherit (self) outputs; + systems = [ + "aarch64-linux" + "x86_64-linux" + ]; + + forAllSystems = nixpkgs.lib.genAttrs systems; + in { + devShells.default = forAllSystems (system: let + pkgs = nixpkgs.legacyPackages.${system}; + in { + buildInputs = with pkgs; [ + (wineWowPackages.full.override { + wineRelease = "staging"; + mingwSupport = true; + }) + winetricks + ]; + }); + }; +}