Initial commit

This commit is contained in:
Daniel Flanagan 2023-12-04 09:57:40 -06:00
commit 7d421c3b28
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 58 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/.direnv

27
flake.lock Normal file
View file

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

29
flake.nix Normal file
View file

@ -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
];
});
};
}