Use nix flakes for lutris

This commit is contained in:
joachimschmidt557 2021-08-26 13:57:16 +02:00
parent ae5c72d98c
commit ecc7d96d3f
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5
2 changed files with 42 additions and 0 deletions

25
flake.lock generated Normal file
View file

@ -0,0 +1,25 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1629978322,
"narHash": "sha256-/yavi2HwutTmxhIP9mO5ZgjTAOPsY6W1bw4ErtoSCj8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e8a80426d7a42498de49139752588ccb213aebb0",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

17
flake.nix Normal file
View file

@ -0,0 +1,17 @@
{
description = "dotfiles";
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs
{
system = "x86_64-linux";
config = {
allowUnfree = true;
};
};
in
{
packages.x86_64-linux.lutris = pkgs.lutris;
};
}